summaryrefslogtreecommitdiff
path: root/tests/prop-editor.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-10-02 18:19:46 +0200
committerMatthias Clasen <mclasen@redhat.com>2010-10-15 16:58:27 -0400
commite7f51ef6a411dc4c784c3edc67df294288de3f75 (patch)
treeece84455ae96925ea61849f2af984b953ecd3a95 /tests/prop-editor.c
parent99cfbecf466193f2a132e4476f92723b8c51e4a5 (diff)
downloadgtk+-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.c6
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;
}