aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/eggsmclient-private.h
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2010-12-23 20:32:01 +0800
committerXan Lopez <xan@gnome.org>2010-12-23 20:32:01 +0800
commitf3c2e279e2627b405947a785375e733195f5f7a1 (patch)
treeea7ee6463f815a7ad73d11f74919927cc079d350 /lib/egg/eggsmclient-private.h
parentc8bd3e01b3f7a451b318a609a65feb1db268dd95 (diff)
downloadgsoc2013-epiphany-f3c2e279e2627b405947a785375e733195f5f7a1.tar
gsoc2013-epiphany-f3c2e279e2627b405947a785375e733195f5f7a1.tar.gz
gsoc2013-epiphany-f3c2e279e2627b405947a785375e733195f5f7a1.tar.bz2
gsoc2013-epiphany-f3c2e279e2627b405947a785375e733195f5f7a1.tar.lz
gsoc2013-epiphany-f3c2e279e2627b405947a785375e733195f5f7a1.tar.xz
gsoc2013-epiphany-f3c2e279e2627b405947a785375e733195f5f7a1.tar.zst
gsoc2013-epiphany-f3c2e279e2627b405947a785375e733195f5f7a1.zip
egg: cherry-pick fixes for compilation against GTK+ 2.91.7
Diffstat (limited to 'lib/egg/eggsmclient-private.h')
-rw-r--r--lib/egg/eggsmclient-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/egg/eggsmclient-private.h b/lib/egg/eggsmclient-private.h
index ccb10bfc3..0c98eeed8 100644
--- a/lib/egg/eggsmclient-private.h
+++ b/lib/egg/eggsmclient-private.h
@@ -20,7 +20,13 @@
#ifndef __EGG_SM_CLIENT_PRIVATE_H__
#define __EGG_SM_CLIENT_PRIVATE_H__
+#include <gtk/gtk.h>
+
+#if !GTK_CHECK_VERSION(2,91,7) && !GTK_CHECK_VERSION(3,0,0)
+/* GTK+ 3 includes this automatically */
#include <gdkconfig.h>
+#endif
+
#include "eggsmclient.h"
G_BEGIN_DECLS