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/testtreesort.c | |
parent | 49c1e6dc8969a06d5b016700f3a64e31d082b7e3 (diff) | |
download | gtk+-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/testtreesort.c')
-rw-r--r-- | tests/testtreesort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtreesort.c b/tests/testtreesort.c index 54ff205dfb..dbd69cc16e 100644 --- a/tests/testtreesort.c +++ b/tests/testtreesort.c @@ -65,7 +65,7 @@ main (int argc, char *argv[]) gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_box_pack_start (GTK_BOX (vbox), scrolled_window, TRUE, TRUE, 0); - model = gtk_tree_store_new_with_types (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); + model = gtk_tree_store_new (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); // gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (model), 0, GTK_TREE_SORT_ASCENDING); g_print ("start model\n"); tree_view = gtk_tree_view_new_with_model (model); |