gobjectification: 8f746ace: make the one_time_password plugin compil...

grim at pidgin.im grim at pidgin.im
Sun Jul 19 13:45:25 EDT 2009


-----------------------------------------------------------------
Revision: 8f746aceb52164b6e33136905dff35b1e2d92c6a
Ancestor: fe55773b477045d9f41de343a4de132d49c07aee
Author: grim at pidgin.im
Date: 2009-07-19T17:39:59
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/8f746aceb52164b6e33136905dff35b1e2d92c6a

Modified files:
        libpurple/plugins/one_time_password.c

ChangeLog: 

make the one_time_password plugin compile


-------------- next part --------------
============================================================
--- libpurple/plugins/one_time_password.c	96b1720ffb352dcfe5c79c2faea10f9b9593df11
+++ libpurple/plugins/one_time_password.c	24a5fd28fe953dd521f4a1fe4e6d23a1e42806c3
@@ -24,6 +24,7 @@
 #include "version.h"
 #include "account.h"
 #include "accountopt.h"
+#include "gsignal.h"
 
 #define PLUGIN_ID "core-one_time_password"
 #define PREF_NAME PLUGIN_ID "_enabled"
@@ -72,8 +73,8 @@ plugin_load(PurplePlugin *plugin)
 	}
 
 	/* Register callback. */
-	purple_type_connect(PURPLE_TYPE_CONNECTION, "signed-on",
-						G_CALLBACK(signed_on_cb), NULL);
+	purple_g_signal_connect(PURPLE_TYPE_CONNECTION, "signed-on",
+							G_CALLBACK(signed_on_cb), NULL);
 
 	return TRUE;
 }


More information about the Commits mailing list