[gtk+] 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+] Fix compilation warning: Use G_ENABLE_DEBUG to enable the var
- Date: Mon, 12 Apr 2010 20:25:54 +0000 (UTC)
commit 3e5d49f52bacab047e7a36bb5329f84ba6c5fd1a
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]