summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/converter/support.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/converter/support.h b/plugins/converter/support.h
index 7037765f..84d6a665 100644
--- a/plugins/converter/support.h
+++ b/plugins/converter/support.h
@@ -75,3 +75,14 @@ gtk_combo_box_entry_new_text(void);
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
+typedef GtkComboBox GtkComboBoxText;
+GtkWidget *gtk_combo_box_text_new ();
+GtkWidget *gtk_combo_box_text_new_with_entry (void);
+void gtk_combo_box_text_append_text (GtkComboBoxText *combo_box, const gchar *text);
+void gtk_combo_box_text_insert_text (GtkComboBoxText *combo_box, gint position, const gchar *text);
+void gtk_combo_box_text_prepend_text (GtkComboBoxText *combo_box, const gchar *text);
+gchar *gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box);
+#endif