summaryrefslogtreecommitdiff
path: root/tests/testtreesort.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-04-21 22:34:36 +0200
committerTimm Bäder <mail@baedert.org>2017-04-25 20:30:37 +0200
commitc92b7d4224b9cef1d08373fcc28f7fbd96c64e6d (patch)
tree6eaa81528f6ec5152eccc475df7b4d8a769f3ea6 /tests/testtreesort.c
parent5729ea7744c2a41ae8fb833db6690a6aa5ad7a84 (diff)
downloadgtk+-c92b7d4224b9cef1d08373fcc28f7fbd96c64e6d.tar.gz
box: Remove fill child property
GtkWidget:halign and GtkWidget:valign are sufficient
Diffstat (limited to 'tests/testtreesort.c')
-rw-r--r--tests/testtreesort.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/tests/testtreesort.c b/tests/testtreesort.c
index 8cbcb98b87..72aa83a7e0 100644
--- a/tests/testtreesort.c
+++ b/tests/testtreesort.c
@@ -122,20 +122,20 @@ main (int argc, char *argv[])
gtk_window_set_title (GTK_WINDOW (window), "Words, words, words - Window 1");
g_signal_connect (window, "destroy", gtk_main_quit, NULL);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8);
- gtk_box_pack_start (GTK_BOX (vbox), gtk_label_new ("Jonathan and Kristian's list of cool words. (And Anders' cool list of numbers) \n\nThis is just a GtkTreeStore"), FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), gtk_label_new ("Jonathan and Kristian's list of cool words. (And Anders' cool list of numbers) \n\nThis is just a GtkTreeStore"));
gtk_container_add (GTK_CONTAINER (window), vbox);
entry = gtk_entry_new ();
- gtk_box_pack_start (GTK_BOX (vbox), entry, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), entry);
button = gtk_button_new_with_label ("Switch search method");
- gtk_box_pack_start (GTK_BOX (vbox), button, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), button);
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window), GTK_SHADOW_ETCHED_IN);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_widget_set_vexpand (scrolled_window, TRUE);
- gtk_box_pack_start (GTK_BOX (vbox), scrolled_window, TRUE);
+ gtk_box_pack_start (GTK_BOX (vbox), scrolled_window);
model = gtk_tree_store_new (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT);
@@ -251,8 +251,7 @@ main (int argc, char *argv[])
g_signal_connect (window2, "destroy", gtk_main_quit, NULL);
vbox2 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8);
gtk_box_pack_start (GTK_BOX (vbox2),
- gtk_label_new ("Jonathan and Kristian's list of words.\n\nA GtkTreeModelSort wrapping the GtkTreeStore of window 1"),
- FALSE);
+ gtk_label_new ("Jonathan and Kristian's list of words.\n\nA GtkTreeModelSort wrapping the GtkTreeStore of window 1"));
gtk_container_add (GTK_CONTAINER (window2), vbox2);
scrolled_window2 = gtk_scrolled_window_new (NULL, NULL);
@@ -262,7 +261,7 @@ main (int argc, char *argv[])
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
gtk_widget_set_vexpand (scrolled_window2, TRUE);
- gtk_box_pack_start (GTK_BOX (vbox2), scrolled_window2, TRUE);
+ gtk_box_pack_start (GTK_BOX (vbox2), scrolled_window2);
tree_view2 = gtk_tree_view_new_with_model (smodel);
@@ -321,8 +320,7 @@ main (int argc, char *argv[])
g_signal_connect (window3, "destroy", gtk_main_quit, NULL);
vbox3 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8);
gtk_box_pack_start (GTK_BOX (vbox3),
- gtk_label_new ("Jonathan and Kristian's list of words.\n\nA GtkTreeModelSort wrapping the GtkTreeModelSort of window 2"),
- FALSE);
+ gtk_label_new ("Jonathan and Kristian's list of words.\n\nA GtkTreeModelSort wrapping the GtkTreeModelSort of window 2"));
gtk_container_add (GTK_CONTAINER (window3), vbox3);
scrolled_window3 = gtk_scrolled_window_new (NULL, NULL);
@@ -332,7 +330,7 @@ main (int argc, char *argv[])
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
gtk_widget_set_vexpand (scrolled_window3, TRUE);
- gtk_box_pack_start (GTK_BOX (vbox3), scrolled_window3, TRUE);
+ gtk_box_pack_start (GTK_BOX (vbox3), scrolled_window3);
tree_view3 = gtk_tree_view_new_with_model (ssmodel);