cpw.qulogic.gtk3: a6d5d6ca: Fix minor unused variable warning.

qulogic at pidgin.im qulogic at pidgin.im
Sun Oct 9 04:34:49 EDT 2011


----------------------------------------------------------------------
Revision: a6d5d6ca39ccbc74c99b173d5126f3a0e260fb3e
Parent:   995404db2b8a0fd85c8cf7b2533dcc52215bebbd
Author:   qulogic at pidgin.im
Date:     10/08/11 18:17:55
Branch:   im.pidgin.cpw.qulogic.gtk3
URL: http://d.pidgin.im/viewmtn/revision/info/a6d5d6ca39ccbc74c99b173d5126f3a0e260fb3e

Changelog: 

Fix minor unused variable warning.

Changes against parent 995404db2b8a0fd85c8cf7b2533dcc52215bebbd

  patched  pidgin/gtkmenutray.c

-------------- next part --------------
============================================================
--- pidgin/gtkmenutray.c	fc40264c8c1af071795d8c388039949e5aa14008
+++ pidgin/gtkmenutray.c	016012e872fd980cd6e935ac2f42953c87a57e91
@@ -92,7 +92,9 @@ pidgin_menu_tray_finalize(GObject *obj)
 static void
 pidgin_menu_tray_finalize(GObject *obj)
 {
+#if !GTK_CHECK_VERSION(2,12,0)
 	PidginMenuTray *tray = PIDGIN_MENU_TRAY(obj);
+#endif
 #if 0
 	/* This _might_ be leaking, but I have a sneaking suspicion that the widget is
 	 * getting destroyed in GtkContainer's finalize function.  But if were are


More information about the Commits mailing list