Fix compilation warning: Use G_ENABLE_DEBUG to enable the var

This commit is contained in:
Javier Jardón 2010-04-12 20:43:18 +02:00
parent b3bd16e8bb
commit 3e5d49f52b

View File

@ -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",