soc.2012.gg: a679029b: Report libgadu version, remove unused va...

tomkiewicz at cpw.pidgin.im tomkiewicz at cpw.pidgin.im
Fri May 25 17:02:51 EDT 2012


----------------------------------------------------------------------
Revision: a679029bf30ee766841e5d910dc56cf39dacfac3
Parent:   3fa4537f3ab13ea082d468da8f8ca6162b31948e
Author:   tomkiewicz at cpw.pidgin.im
Date:     05/25/12 16:57:43
Branch:   im.pidgin.soc.2012.gg
URL: http://d.pidgin.im/viewmtn/revision/info/a679029bf30ee766841e5d910dc56cf39dacfac3

Changelog: 

Report libgadu version, remove unused variable.

Changes against parent 3fa4537f3ab13ea082d468da8f8ca6162b31948e

  patched  libpurple/protocols/gg/gg.c

-------------- next part --------------
============================================================
--- libpurple/protocols/gg/gg.c	97da098a6852b937c89a9359b8f6da860422c8a1
+++ libpurple/protocols/gg/gg.c	5f171159d2f69d8f0607310d2516c47ff357dae1
@@ -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 @@ static void init_plugin(PurplePlugin *pl
 	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 @@ static void init_plugin(PurplePlugin *pl
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options,
 		option);
 
-	my_protocol = plugin;
-
 	gg_debug_handler = purple_gg_debug_handler;
 	
 #ifdef _WIN32


More information about the Commits mailing list