changeset 32679:6142c3f0868f

Fix minor unused variable warning.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 08 Oct 2011 22:17:55 +0000
parents 1c7c89f41081
children 33d15efe7dca
files pidgin/gtkmenutray.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkmenutray.c	Sat Oct 08 21:58:16 2011 +0000
+++ b/pidgin/gtkmenutray.c	Sat Oct 08 22:17:55 2011 +0000
@@ -92,7 +92,9 @@
 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