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/testappchooserbutton.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/testappchooserbutton.c')
-rw-r--r-- | tests/testappchooserbutton.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/testappchooserbutton.c b/tests/testappchooserbutton.c index c96dc11f77..53a9ded275 100644 --- a/tests/testappchooserbutton.c +++ b/tests/testappchooserbutton.c @@ -76,22 +76,22 @@ main (int argc, gtk_container_add (GTK_CONTAINER (toplevel), box); combobox = gtk_app_chooser_button_new ("image/jpeg"); - gtk_box_pack_start (GTK_BOX (box), combobox, TRUE); + gtk_box_pack_start (GTK_BOX (box), combobox); g_signal_connect (combobox, "changed", G_CALLBACK (combo_changed_cb), NULL); w = gtk_label_new (NULL); gtk_label_set_markup (GTK_LABEL (w), "<b>Selected app info</b>"); - gtk_box_pack_start (GTK_BOX (box), w, TRUE); + gtk_box_pack_start (GTK_BOX (box), w); w = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); - gtk_box_pack_start (GTK_BOX (box), w, TRUE); + gtk_box_pack_start (GTK_BOX (box), w); sel_image = gtk_image_new (); - gtk_box_pack_start (GTK_BOX (w), sel_image, TRUE); + gtk_box_pack_start (GTK_BOX (w), sel_image); sel_name = gtk_label_new (NULL); - gtk_box_pack_start (GTK_BOX (w), sel_name, TRUE); + gtk_box_pack_start (GTK_BOX (w), sel_name); gtk_app_chooser_button_set_heading (GTK_APP_CHOOSER_BUTTON (combobox), "Choose one, <i>not</i> two"); gtk_app_chooser_button_append_separator (GTK_APP_CHOOSER_BUTTON (combobox)); |