gobjectification: 3d2d6355: small fixes / commenting

ecoffey at soc.pidgin.im ecoffey at soc.pidgin.im
Mon Jun 23 21:55:58 EDT 2008


-----------------------------------------------------------------
Revision: 3d2d6355513e709f7c8e42b98a715115d290792a
Ancestor: 54a3f6c27532f476dfd8b1725f7166ba84ff2fce
Author: ecoffey at soc.pidgin.im
Date: 2008-06-24T01:50:09
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/3d2d6355513e709f7c8e42b98a715115d290792a

Modified files:
        libpurple/connection.c

ChangeLog: 

small fixes / commenting

-------------- next part --------------
============================================================
--- libpurple/connection.c	be22ae1feda2f9bc87be406c41f5dd88b9604986
+++ libpurple/connection.c	3a97f6ffe848c612c86ac111173b8ab2ffe89e6a
@@ -222,6 +222,7 @@ purple_connection_new(PurpleAccount *acc
 	{
 		purple_debug_info("connection", "Connecting. gc = %p\n", gc);
 
+#warning Replace with g_signal_emit when account is gobjectified
 		purple_signal_emit(purple_accounts_get_handle(), "account-connecting", account);
 		prpl_info->login(account);
 	}
@@ -275,7 +276,7 @@ purple_connection_new_unregister(PurpleA
 	connections = g_list_append(connections, gc);
 	purple_account_set_connection(account, gc);
 
-	g_signal_emit(gc, signals[SIG_SIGNING_ON], 0);
+	g_signal_emit(G_OBJECT(gc), signals[SIG_SIGNING_ON], 0);
 
 	purple_debug_info("connection", "Unregistering.  gc = %p\n", gc);
 


More information about the Commits mailing list