summaryrefslogtreecommitdiff
path: root/tests/testcombo.c
diff options
context:
space:
mode:
authorKristian Rietveld <kristian@src.gnome.org>2003-11-16 23:20:23 +0000
committerKristian Rietveld <kristian@src.gnome.org>2003-11-16 23:20:23 +0000
commita4e8e3dee5b5a86d1eae198bb0c7f0f051dd3799 (patch)
tree22ea715bfeba16ce0bf0d6d7ae77f1cba649ab8f /tests/testcombo.c
parentd777b5b46a2baea0293cb7c474de5728cc0084c7 (diff)
downloadgtk+-a4e8e3dee5b5a86d1eae198bb0c7f0f051dd3799.tar.gz
grrrr. broken pipe.
Diffstat (limited to 'tests/testcombo.c')
-rw-r--r--tests/testcombo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testcombo.c b/tests/testcombo.c
index b5e105bd85..485fe1f3f2 100644
--- a/tests/testcombo.c
+++ b/tests/testcombo.c
@@ -54,7 +54,7 @@ create_combo_box_grid_demo ()
store = gtk_list_store_new (1, GDK_TYPE_PIXBUF);
- combo = gtk_combo_box_new (GTK_TREE_MODEL (store));
+ combo = gtk_combo_box_new_with_model (GTK_TREE_MODEL (store));
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo),
cell, TRUE);
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo),
@@ -260,7 +260,7 @@ main (int argc, char **argv)
gtk_container_set_border_width (GTK_CONTAINER (boom), 5);
gtk_container_add (GTK_CONTAINER (tmp), boom);
- combobox = gtk_combo_box_new (create_blaat ());
+ combobox = gtk_combo_box_new_with_model (create_blaat ());
gtk_container_add (GTK_CONTAINER (boom), combobox);
renderer = gtk_cell_renderer_pixbuf_new ();
@@ -302,7 +302,7 @@ main (int argc, char **argv)
gtk_container_set_border_width (GTK_CONTAINER (boom), 5);
gtk_container_add (GTK_CONTAINER (tmp), boom);
- comboboxtext = gtk_combo_box_entry_new (create_text_store (), 0);
+ comboboxtext = gtk_combo_box_entry_new_with_model (create_text_store (), 0);
gtk_container_add (GTK_CONTAINER (boom), comboboxtext);
/* done */