From 3e5d49f52bacab047e7a36bb5329f84ba6c5fd1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 12 Apr 2010 20:43:18 +0200 Subject: [PATCH] Fix compilation warning: Use G_ENABLE_DEBUG to enable the var --- gtk/gtktrayicon-x11.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtktrayicon-x11.c b/gtk/gtktrayicon-x11.c index 49fd86a956..8e7f7cbfcd 100644 --- a/gtk/gtktrayicon-x11.c +++ b/gtk/gtktrayicon-x11.c @@ -545,7 +545,9 @@ static gboolean gtk_tray_icon_delete (GtkWidget *widget, GdkEventAny *event) { +#ifdef G_ENABLE_DEBUG GtkTrayIcon *icon = GTK_TRAY_ICON (widget); +#endif GTK_NOTE (PLUGSOCKET, g_print ("GtkStatusIcon %p: delete notify, tray manager window %lx\n",