libpurple/protocols/gg/gg.c

branch
soc.2012.gg
changeset 33287
79ed046bf275
parent 32763
fecea45a546b
child 33291
b70ab10887a7
--- a/libpurple/protocols/gg/gg.c	Fri May 25 20:36:26 2012 +0000
+++ b/libpurple/protocols/gg/gg.c	Fri May 25 20:57:43 2012 +0000
@@ -49,8 +49,6 @@
 #  include "win32-resolver.h"
 #endif
 
-static PurplePlugin *my_protocol = NULL;
-
 /* Prototypes */
 static void ggp_set_status(PurpleAccount *account, PurpleStatus *status);
 static int ggp_to_gg_status(PurpleStatus *status, char **msg);
@@ -2975,6 +2973,9 @@
 	PurpleAccountOption *option;
 	GList *encryption_options = NULL;
 
+	purple_debug_info("gg", "init_plugin: [libgadu version: %s]\n",
+		gg_libgadu_version());
+
 	option = purple_account_option_string_new(_("GG server"),
 			"gg_server", "");
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options,
@@ -3002,8 +3003,6 @@
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options,
 		option);
 
-	my_protocol = plugin;
-
 	gg_debug_handler = purple_gg_debug_handler;
 	
 #ifdef _WIN32

mercurial