diff options
Diffstat (limited to 'plugins/converter/support.c')
-rw-r--r-- | plugins/converter/support.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/converter/support.c b/plugins/converter/support.c index 1e6087da..06482131 100644 --- a/plugins/converter/support.c +++ b/plugins/converter/support.c @@ -158,4 +158,29 @@ GtkWidget * gtk_combo_box_text_new () { return gtk_combo_box_new_text (); } + +GtkWidget * +gtk_combo_box_text_new_with_entry (void) { + return gtk_combo_box_entry_new (); +} + +void +gtk_combo_box_text_append_text (GtkComboBoxText *combo_box, const gchar *text) { + gtk_combo_box_append_text (combo_box, text); +} + +void +gtk_combo_box_text_insert_text (GtkComboBoxText *combo_box, gint position, const gchar *text) { + gtk_combo_box_insert_text (combo_box, position, text); +} + +void +gtk_combo_box_text_prepend_text (GtkComboBoxText *combo_box, const gchar *text) { + gtk_combo_box_prepend_text (combo_box, text); +} +gchar * +gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box) { + return gtk_combo_box_get_active_text (combo_box); +} + #endif |