aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/gtk-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/gtk-compat.h')
-rw-r--r--e-util/gtk-compat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/e-util/gtk-compat.h b/e-util/gtk-compat.h
index cc27e0e7ec..3b9c7ef2e9 100644
--- a/e-util/gtk-compat.h
+++ b/e-util/gtk-compat.h
@@ -14,6 +14,13 @@
#define GtkComboBoxText GtkComboBox
#endif
+#if GTK_CHECK_VERSION (2,23,0)
+#define GTK_COMBO_BOX_ENTRY GTK_COMBO_BOX
+#else
+#define gtk_combo_box_set_entry_text_column \
+ gtk_combo_box_entry_set_text_column
+#endif
+
#if GTK_CHECK_VERSION (2,90,5)
/* Recreate GdkRegion until we drop GTK2 compatibility. */