summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/converter/support.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/converter/support.c b/plugins/converter/support.c
index ae0b71d5..1e6087da 100644
--- a/plugins/converter/support.c
+++ b/plugins/converter/support.c
@@ -151,3 +151,11 @@ void
gtk_dialog_set_has_separator (GtkDialog *dlg, gboolean has) {
}
#endif
+
+#if !GTK_CHECK_VERSION(2,24,0)
+#define GTK_COMBO_BOX_TEXT GTK_COMBO_BOX
+GtkWidget *
+gtk_combo_box_text_new () {
+ return gtk_combo_box_new_text ();
+}
+#endif