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 /docs/tools/widgets.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 'docs/tools/widgets.c')
-rw-r--r-- | docs/tools/widgets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c index d5a9901ae5..206c26e32c 100644 --- a/docs/tools/widgets.c +++ b/docs/tools/widgets.c @@ -316,8 +316,8 @@ create_combo_box (void) "}\n" "widget_class \"GtkComboBox\" style \"combo-box-style\"\n" ); - widget = gtk_combo_box_new_text (); - gtk_combo_box_append_text (GTK_COMBO_BOX (widget), "Combo Box"); + widget = gtk_combo_box_text_new (); + gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (widget), "Combo Box"); gtk_combo_box_set_active (GTK_COMBO_BOX (widget), 0); align = gtk_alignment_new (0.5, 0.5, 0.0, 0.0); gtk_container_add (GTK_CONTAINER (align), widget); |