diff --git a/demos/gtk-demo/tree_store.c b/demos/gtk-demo/tree_store.c index 36c5948..6383ab7 100644 --- a/demos/gtk-demo/tree_store.c +++ b/demos/gtk-demo/tree_store.c @@ -52,9 +52,9 @@ enum /* tree data */ static TreeItem item_name_0[] = { - {"A", TRUE, TRUE, TRUE, NULL }, - {"B", FALSE, TRUE, FALSE, NULL }, - {"C", FALSE, TRUE, FALSE, NULL }, + { "A", TRUE, TRUE, TRUE, NULL }, + { "B", FALSE, TRUE, FALSE, NULL }, + { "C", FALSE, TRUE, FALSE, NULL }, { NULL } }; @@ -76,9 +76,9 @@ static TreeItem item_name_2[] = static TreeItem toplevel[] = { - {"IT-0", FALSE, FALSE, FALSE, item_name_0}, - {"IT-1", FALSE, FALSE, FALSE, item_name_1}, - {"IT-2", FALSE, FALSE, FALSE, item_name_2}, + { "IT-0", FALSE, FALSE, FALSE, item_name_0 }, + { "IT-1", FALSE, FALSE, FALSE, item_name_1 }, + { "IT-2", FALSE, FALSE, FALSE, item_name_2 }, { NULL } }; @@ -264,7 +264,7 @@ do_tree_store (GtkWidget *do_widget) /* expand all rows after the treeview widget has been realized */ g_signal_connect (treeview, "realize", G_CALLBACK (gtk_tree_view_expand_all), NULL); - gtk_window_set_default_size (GTK_WINDOW (window), 650, 400); + gtk_window_set_default_size (GTK_WINDOW (window), 200, 350); } if (!gtk_widget_get_visible (window))