Only include gtktrayicon.h when building for X11

GtkTrayIcon depends on GtkPlug which is X11-specific.  This fixes the
build for Quartz.
This commit is contained in:
Kristian Rietveld 2011-01-31 23:10:49 +01:00
parent 726b0d8736
commit 119d29dcb9

View File

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