]> Pileus Git - ~andy/gtk/blobdiff - tests/testtreefocus.c
changed new_with_types to just plain new, fixing the number of columns,
[~andy/gtk] / tests / testtreefocus.c
index 854c3f84adfbc78434e3ec06070dce0cd18a0411..adf43f69152e3a7b4d5b11470608b495f29e201c 100644 (file)
@@ -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)
     {