[gtk+/gtk-2-20] Fix compilation warning: Use G_ENABLE_DEBUG to enable the var
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-20] Fix compilation warning: Use G_ENABLE_DEBUG to enable the var
- Date: Mon, 12 Apr 2010 20:30:15 +0000 (UTC)
commit d9d53e6fbec883f6b6cec631e0152eb24bf24f22
Author: Javier Jardón <jjardon gnome org>
Date: Mon Apr 12 20:43:18 2010 +0200
Fix compilation warning: Use G_ENABLE_DEBUG to enable the var
gtk/gtktrayicon-x11.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktrayicon-x11.c b/gtk/gtktrayicon-x11.c
index 49fd86a..8e7f7cb 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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]