[gtk+] Only include gtktrayicon.h when building for X11



commit 119d29dcb9490c541b9f5f22d1c4380508021b68
Author: Kristian Rietveld <kris gtk org>
Date:   Mon Jan 31 23:10:49 2011 +0100

    Only include gtktrayicon.h when building for X11
    
    GtkTrayIcon depends on GtkPlug which is X11-specific.  This fixes the
    build for Quartz.

 gtk/gtkstatusicon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c
index 422d085..3888e3c 100644
--- a/gtk/gtkstatusicon.c
+++ b/gtk/gtkstatusicon.c
@@ -38,7 +38,6 @@
 #include "gtkmain.h"
 #include "gtkmarshalers.h"
 #include "gtksizerequest.h"
-#include "gtktrayicon.h"
 #include "gtkprivate.h"
 #include "gtkwidget.h"
 #include "gtktooltip.h"
@@ -48,6 +47,7 @@
 
 #ifdef GDK_WINDOWING_X11
 #include "gdk/x11/gdkx.h"
+#include "gtktrayicon.h"
 #endif
 
 #ifdef GDK_WINDOWING_WIN32



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]