gobjectification: 53dc92ef: some more compile fixes. against move t...

grim at pidgin.im grim at pidgin.im
Thu Jun 11 21:50:30 EDT 2009


-----------------------------------------------------------------
Revision: 53dc92ef53ed2ce156199dc4872f31d5060d8fe5
Ancestor: 4e1c33433fc58ce79397a31b9345d892403cd4f2
Author: grim at pidgin.im
Date: 2009-06-12T01:47:23
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/53dc92ef53ed2ce156199dc4872f31d5060d8fe5

Modified files:
        finch/gntblist.c pidgin/plugins/disco/xmppdisco.c

ChangeLog: 

some more compile fixes.  against move to purple_type_connect

-------------- next part --------------
============================================================
--- finch/gntblist.c	455f6d61c5a529f549dc880600a34d3a5550d07f
+++ finch/gntblist.c	92abdff048dd558f9d7866251d45896c3d36a1ec
@@ -3121,7 +3121,7 @@ blist_show(PurpleBuddyList *list)
 
 	purple_signal_connect(NULL, "signed-on", finch_blist_get_handle(),
 				PURPLE_CALLBACK(reconstruct_accounts_menu), NULL);
-	purple_signal_connect(purple_connections_get_handle(), "signed-off", finch_blist_get_handle(),
+	purple_type_connect(PURPLE_TYPE_CONNECTION, "signed-off",
 				PURPLE_CALLBACK(reconstruct_accounts_menu), NULL);
 	purple_signal_connect(purple_accounts_get_handle(), "account-actions-changed", finch_blist_get_handle(),
 				PURPLE_CALLBACK(reconstruct_accounts_menu), NULL);
============================================================
--- pidgin/plugins/disco/xmppdisco.c	bb3825cb49013ce5c45e60fafdf95fb765bb5596
+++ pidgin/plugins/disco/xmppdisco.c	414a39849a525f3cdd085569a64274e833fce275
@@ -619,8 +619,8 @@ plugin_load(PurplePlugin *plugin)
 	if (NULL == xmpp_prpl)
 		return FALSE;
 
-	purple_signal_connect(purple_connections_get_handle(), "signing-off",
-	                      plugin, PURPLE_CALLBACK(signed_off_cb), NULL);
+	purple_type_connect(PURPLE_TYPE_CONNECTION, "signing-off",
+	                    PURPLE_CALLBACK(signed_off_cb), NULL);
 
 	iq_callbacks = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free);
 


More information about the Commits mailing list