gobjectification: 4e1c3343: make the one time password plugin use pu...

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


-----------------------------------------------------------------
Revision: 4e1c33433fc58ce79397a31b9345d892403cd4f2
Ancestor: 25780e3c5bdc8274eaf36ab54d8efdfd724681a7
Author: grim at pidgin.im
Date: 2009-06-12T01:42:49
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/4e1c33433fc58ce79397a31b9345d892403cd4f2

Modified files:
        libpurple/plugins/one_time_password.c

ChangeLog: 

make the one time password plugin use purple_type_connect


-------------- next part --------------
============================================================
--- libpurple/plugins/one_time_password.c	5a348ad64f54f7a0438ce18b5c863d8c0ac8e937
+++ libpurple/plugins/one_time_password.c	96b1720ffb352dcfe5c79c2faea10f9b9593df11
@@ -72,8 +72,8 @@ plugin_load(PurplePlugin *plugin)
 	}
 
 	/* Register callback. */
-	purple_signal_connect(purple_connections_get_handle(), "signed-on",
-			      plugin, PURPLE_CALLBACK(signed_on_cb), NULL);
+	purple_type_connect(PURPLE_TYPE_CONNECTION, "signed-on",
+						G_CALLBACK(signed_on_cb), NULL);
 
 	return TRUE;
 }


More information about the Commits mailing list