summaryrefslogtreecommitdiff
path: root/tests/treestoretest.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-06-30 02:38:17 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-06-30 02:38:17 +0000
commitee5ff7ddc23a90018b35102ac87e6ac41928da10 (patch)
tree4fc92ac89e40d45262882177cffc21521c50651c /tests/treestoretest.c
parent49c1e6dc8969a06d5b016700f3a64e31d082b7e3 (diff)
downloadgtk+-ee5ff7ddc23a90018b35102ac87e6ac41928da10.tar.gz
changed new_with_types to just plain new, fixing the number of columns,
Fri Jun 29 22:13:28 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreestore.c (gtk_tree_store_new): changed new_with_types to just plain new, fixing the number of columns, and column types at creation time. * gtk/gtkliststore.c (gtk_list_store_new): ditto. * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_fixed_height_from_font): FIX the height to a specific font. * gtk/gtktreeview.c (gtk_tree_view_is_expander_column): fix brokenness. * tests/*c: change to work with new store models.
Diffstat (limited to 'tests/treestoretest.c')
-rw-r--r--tests/treestoretest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/treestoretest.c b/tests/treestoretest.c
index 84b127d31e..0c966d76a3 100644
--- a/tests/treestoretest.c
+++ b/tests/treestoretest.c
@@ -353,7 +353,7 @@ main (int argc, char *argv[])
{
gtk_init (&argc, &argv);
- base_model = gtk_tree_store_new_with_types (2, G_TYPE_STRING, G_TYPE_STRING);
+ base_model = gtk_tree_store_new (2, G_TYPE_STRING, G_TYPE_STRING);
/* FIXME: reverse this */
make_window (0);