summaryrefslogtreecommitdiff
path: root/examples
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 /examples
parent5729ea7744c2a41ae8fb833db6690a6aa5ad7a84 (diff)
downloadgtk+-c92b7d4224b9cef1d08373fcc28f7fbd96c64e6d.tar.gz
box: Remove fill child property
GtkWidget:halign and GtkWidget:valign are sufficient
Diffstat (limited to 'examples')
-rw-r--r--examples/search-bar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/search-bar.c b/examples/search-bar.c
index 3d3a1adf71..f932ec8922 100644
--- a/examples/search-bar.c
+++ b/examples/search-bar.c
@@ -30,10 +30,10 @@ activate_cb (GtkApplication *app,
entry = gtk_search_entry_new ();
gtk_widget_set_hexpand (entry, TRUE);
- gtk_box_pack_start (GTK_BOX (box), entry, TRUE);
+ gtk_box_pack_start (GTK_BOX (box), entry);
menu_button = gtk_menu_button_new ();
- gtk_box_pack_start (GTK_BOX (box), menu_button, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), menu_button);
gtk_search_bar_connect_entry (GTK_SEARCH_BAR (search_bar), GTK_ENTRY (entry));