diff options
author | Timm Bäder <mail@baedert.org> | 2018-12-29 09:49:24 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-01-23 19:30:46 -0500 |
commit | e9e40ddb42842174bc566974a10701373f32a11f (patch) | |
tree | 029fe073047abbb563b417e1ca640657f2a6f7d7 /examples | |
parent | a543ed84f6a93a5db87c322cafb0da73444dbc72 (diff) | |
download | gtk+-e9e40ddb42842174bc566974a10701373f32a11f.tar.gz |
box: Remove gtk_box_pack_start
Diffstat (limited to 'examples')
-rw-r--r-- | examples/search-bar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/search-bar.c b/examples/search-bar.c index e7ffde7171..cb84e9ce06 100644 --- a/examples/search-bar.c +++ b/examples/search-bar.c @@ -23,10 +23,10 @@ activate_cb (GtkApplication *app, entry = gtk_search_entry_new (); gtk_widget_set_hexpand (entry, TRUE); - gtk_box_pack_start (GTK_BOX (box), entry); + gtk_container_add (GTK_CONTAINER (box), entry); menu_button = gtk_menu_button_new (); - gtk_box_pack_start (GTK_BOX (box), menu_button); + gtk_container_add (GTK_CONTAINER (box), menu_button); gtk_search_bar_connect_entry (GTK_SEARCH_BAR (search_bar), GTK_ENTRY (entry)); gtk_search_bar_set_key_capture_widget (GTK_SEARCH_BAR (search_bar), window); |