summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/main.c2
-rw-r--r--demos/testgtk/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index baa906d0ac..56a094ecae 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -299,7 +299,7 @@ create_tree (void)
GtkTreeIter iter;
gint i;
- model = gtk_tree_store_new_with_values (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_BOOLEAN);
+ model = gtk_tree_store_new_with_types (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_BOOLEAN);
tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (model));
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view));
diff --git a/demos/testgtk/main.c b/demos/testgtk/main.c
index baa906d0ac..56a094ecae 100644
--- a/demos/testgtk/main.c
+++ b/demos/testgtk/main.c
@@ -299,7 +299,7 @@ create_tree (void)
GtkTreeIter iter;
gint i;
- model = gtk_tree_store_new_with_values (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_BOOLEAN);
+ model = gtk_tree_store_new_with_types (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_BOOLEAN);
tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (model));
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view));