diff options
author | Jonathan Blandford <jrb@redhat.com> | 2001-06-30 02:38:17 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-06-30 02:38:17 +0000 |
commit | ee5ff7ddc23a90018b35102ac87e6ac41928da10 (patch) | |
tree | 4fc92ac89e40d45262882177cffc21521c50651c /tests/testtreecolumns.c | |
parent | 49c1e6dc8969a06d5b016700f3a64e31d082b7e3 (diff) | |
download | gdk-pixbuf-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/testtreecolumns.c')
-rw-r--r-- | tests/testtreecolumns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testtreecolumns.c b/tests/testtreecolumns.c index b8e80653f..ebfd6452d 100644 --- a/tests/testtreecolumns.c +++ b/tests/testtreecolumns.c @@ -549,8 +549,8 @@ main (int argc, char *argv[]) gtk_init (&argc, &argv); /* First initialize all the models for signal purposes */ - left_tree_model = (GtkTreeModel *) gtk_list_store_new_with_types (2, G_TYPE_STRING, GTK_TYPE_POINTER); - sample_model = (GtkTreeModel *) gtk_list_store_new_with_types (1, G_TYPE_STRING); + left_tree_model = (GtkTreeModel *) gtk_list_store_new (2, G_TYPE_STRING, GTK_TYPE_POINTER); + sample_model = (GtkTreeModel *) gtk_list_store_new (1, G_TYPE_STRING); sample_tree_view_top = gtk_tree_view_new_with_model (sample_model); sample_tree_view_bottom = gtk_tree_view_new_with_model (sample_model); top_right_tree_model = (GtkTreeModel *) view_column_model_new (GTK_TREE_VIEW (sample_tree_view_top)); |