diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-10-02 18:19:46 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-10-15 16:58:27 -0400 |
commit | e7f51ef6a411dc4c784c3edc67df294288de3f75 (patch) | |
tree | ece84455ae96925ea61849f2af984b953ecd3a95 /tests/prop-editor.c | |
parent | 99cfbecf466193f2a132e4476f92723b8c51e4a5 (diff) | |
download | gtk+-e7f51ef6a411dc4c784c3edc67df294288de3f75.tar.gz |
Use the new GtkComboBoxText API
Also remove mentions of the old text convenience API from the docs,
and point to GtkComboBoxText instead.
Diffstat (limited to 'tests/prop-editor.c')
-rw-r--r-- | tests/prop-editor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/prop-editor.c b/tests/prop-editor.c index bc99f655ba..0a9a3f863e 100644 --- a/tests/prop-editor.c +++ b/tests/prop-editor.c @@ -819,15 +819,15 @@ property_widget (GObject *object, GEnumClass *eclass; gint j; - prop_edit = gtk_combo_box_new_text (); + prop_edit = gtk_combo_box_text_new (); eclass = G_ENUM_CLASS (g_type_class_ref (spec->value_type)); j = 0; while (j < eclass->n_values) { - gtk_combo_box_append_text (GTK_COMBO_BOX (prop_edit), - eclass->values[j].value_name); + gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (prop_edit), + eclass->values[j].value_name); ++j; } |