diff options
author | Timm Bäder <mail@baedert.org> | 2017-04-21 22:34:36 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2017-04-25 20:30:37 +0200 |
commit | c92b7d4224b9cef1d08373fcc28f7fbd96c64e6d (patch) | |
tree | 6eaa81528f6ec5152eccc475df7b4d8a769f3ea6 /tests/testorientable.c | |
parent | 5729ea7744c2a41ae8fb833db6690a6aa5ad7a84 (diff) | |
download | gtk+-c92b7d4224b9cef1d08373fcc28f7fbd96c64e6d.tar.gz |
box: Remove fill child property
GtkWidget:halign and GtkWidget:valign are sufficient
Diffstat (limited to 'tests/testorientable.c')
-rw-r--r-- | tests/testorientable.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/tests/testorientable.c b/tests/testorientable.c index 91ee7536b6..6ac6988ca8 100644 --- a/tests/testorientable.c +++ b/tests/testorientable.c @@ -63,28 +63,22 @@ main (int argc, char **argv) orientables = g_list_prepend (orientables, box); gtk_grid_attach (GTK_GRID (grid), box, 0, 1, 1, 1); gtk_box_pack_start (GTK_BOX (box), - gtk_button_new_with_label ("GtkBox 1"), - TRUE); + gtk_button_new_with_label ("GtkBox 1")); gtk_box_pack_start (GTK_BOX (box), - gtk_button_new_with_label ("GtkBox 2"), - TRUE); + gtk_button_new_with_label ("GtkBox 2")); gtk_box_pack_start (GTK_BOX (box), - gtk_button_new_with_label ("GtkBox 3"), - TRUE); + gtk_button_new_with_label ("GtkBox 3")); /* GtkButtonBox */ box = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL); orientables = g_list_prepend (orientables, box); gtk_grid_attach (GTK_GRID (grid), box, 1, 1, 1, 1); gtk_box_pack_start (GTK_BOX (box), - gtk_button_new_with_label ("GtkButtonBox 1"), - TRUE); + gtk_button_new_with_label ("GtkButtonBox 1")); gtk_box_pack_start (GTK_BOX (box), - gtk_button_new_with_label ("GtkButtonBox 2"), - TRUE); + gtk_button_new_with_label ("GtkButtonBox 2")); gtk_box_pack_start (GTK_BOX (box), - gtk_button_new_with_label ("GtkButtonBox 3"), - TRUE); + gtk_button_new_with_label ("GtkButtonBox 3")); /* GtkSeparator */ box = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL); |