summaryrefslogtreecommitdiff
path: root/tests/testtreefocus.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/testtreefocus.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/testtreefocus.c')
-rw-r--r--tests/testtreefocus.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/testtreefocus.c b/tests/testtreefocus.c
index 854c3f84ad..adf43f6915 100644
--- a/tests/testtreefocus.c
+++ b/tests/testtreefocus.c
@@ -154,15 +154,15 @@ make_model (void)
TreeStruct *month = toplevel;
GtkTreeIter iter;
- model = gtk_tree_store_new_with_types (NUM_COLUMNS,
- G_TYPE_STRING,
- G_TYPE_BOOLEAN,
- G_TYPE_BOOLEAN,
- G_TYPE_BOOLEAN,
- G_TYPE_BOOLEAN,
- G_TYPE_BOOLEAN,
- G_TYPE_BOOLEAN,
- G_TYPE_BOOLEAN);
+ model = gtk_tree_store_new (NUM_COLUMNS,
+ G_TYPE_STRING,
+ G_TYPE_BOOLEAN,
+ G_TYPE_BOOLEAN,
+ G_TYPE_BOOLEAN,
+ G_TYPE_BOOLEAN,
+ G_TYPE_BOOLEAN,
+ G_TYPE_BOOLEAN,
+ G_TYPE_BOOLEAN);
while (month->label)
{