aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-util.c')
-rw-r--r--e-util/e-util.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 22f792c3a7..f27b3f3660 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -57,6 +57,14 @@
#include "e-util.h"
#include "e-util-private.h"
+#include "gtk-compat.h"
+
+#if !GTK_CHECK_VERSION (2,23,0)
+ #undef GtkComboBoxText
+ ENSURE_GTK_COMBO_BOX_TEXT_TYPE
+#else
+ ENSURE_GTK_COMBO_BOX_ENTRY_TYPE
+#endif
/**
* e_get_gnome2_user_dir: