aboutsummaryrefslogtreecommitdiff
path: root/src/eggtrayicon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/eggtrayicon.h')
-rw-r--r--src/eggtrayicon.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/eggtrayicon.h b/src/eggtrayicon.h
index 7bbfe8bf..c0abfc0a 100644
--- a/src/eggtrayicon.h
+++ b/src/eggtrayicon.h
@@ -21,10 +21,11 @@
#ifndef __EGG_TRAY_ICON_H__
#define __EGG_TRAY_ICON_H__
-#include <gtk/gtkplug.h>
+#include <gdkconfig.h>
#include <gtk/gtkversion.h>
-#ifdef GDK_WINDOWING_X11
+#if !GTK_CHECK_VERSION(2, 10, 0) && defined(GDK_WINDOWING_X11)
+#include <gtk/gtkplug.h>
#include <gdk/gdkx.h>
G_BEGIN_DECLS