diff options
author | waker <wakeroid@gmail.com> | 2012-03-20 20:52:29 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-03-20 20:52:29 +0100 |
commit | 6d8f99ce8f827e95c09bfb33251fe210ce0c2c39 (patch) | |
tree | 4c320a0161509d12289d3eb1ad99ae572fff5ce9 /plugins/converter | |
parent | 010c5663fca158493ce9174407002d2fe665e2f5 (diff) |
0.5.2-rc2 fixes
Diffstat (limited to 'plugins/converter')
-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 |