From 4a08257b83512cc32b73d732ccc53266a22b917c Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 20 Oct 2010 16:10:15 -0400 Subject: Deal with GtkComboBoxEntry removal in gtk+-3.0. --- e-util/gtk-compat.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'e-util/gtk-compat.h') 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. */ -- cgit v1.2.3