diff options
Diffstat (limited to 'e-util/gtk-compat.h')
-rw-r--r-- | e-util/gtk-compat.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/e-util/gtk-compat.h b/e-util/gtk-compat.h index 786cc04721..cc27e0e7ec 100644 --- a/e-util/gtk-compat.h +++ b/e-util/gtk-compat.h @@ -5,6 +5,15 @@ /* Provide a GTK+ compatibility layer. */ +#if !GTK_CHECK_VERSION (2,23,0) +#define gtk_combo_box_text_new gtk_combo_box_new_text +#define gtk_combo_box_text_append_text gtk_combo_box_append_text +#define gtk_combo_box_text_prepend_text gtk_combo_box_prepend_text +#define gtk_combo_box_text_get_active_text gtk_combo_box_get_active_text +#define GTK_COMBO_BOX_TEXT GTK_COMBO_BOX +#define GtkComboBoxText GtkComboBox +#endif + #if GTK_CHECK_VERSION (2,90,5) /* Recreate GdkRegion until we drop GTK2 compatibility. */ |