summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/search_entry.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-12-29 09:49:24 +0100
committerMatthias Clasen <mclasen@redhat.com>2019-01-23 19:30:46 -0500
commite9e40ddb42842174bc566974a10701373f32a11f (patch)
tree029fe073047abbb563b417e1ca640657f2a6f7d7 /demos/gtk-demo/search_entry.c
parenta543ed84f6a93a5db87c322cafb0da73444dbc72 (diff)
downloadgtk+-e9e40ddb42842174bc566974a10701373f32a11f.tar.gz
box: Remove gtk_box_pack_start
Diffstat (limited to 'demos/gtk-demo/search_entry.c')
-rw-r--r--demos/gtk-demo/search_entry.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/gtk-demo/search_entry.c b/demos/gtk-demo/search_entry.c
index d45afa290b..ed87159fae 100644
--- a/demos/gtk-demo/search_entry.c
+++ b/demos/gtk-demo/search_entry.c
@@ -240,20 +240,20 @@ do_search_entry (GtkWidget *do_widget)
label = gtk_label_new (NULL);
gtk_label_set_markup (GTK_LABEL (label), "Search entry demo");
- gtk_box_pack_start (GTK_BOX (vbox), label);
+ gtk_container_add (GTK_CONTAINER (vbox), label);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);
- gtk_box_pack_start (GTK_BOX (vbox), hbox);
+ gtk_container_add (GTK_CONTAINER (vbox), hbox);
/* Create our entry */
entry = gtk_search_entry_new ();
- gtk_box_pack_start (GTK_BOX (hbox), entry);
+ gtk_container_add (GTK_CONTAINER (hbox), entry);
/* Create the find and cancel buttons */
notebook = gtk_notebook_new ();
gtk_notebook_set_show_tabs (GTK_NOTEBOOK (notebook), FALSE);
gtk_notebook_set_show_border (GTK_NOTEBOOK (notebook), FALSE);
- gtk_box_pack_start (GTK_BOX (hbox), notebook);
+ gtk_container_add (GTK_CONTAINER (hbox), notebook);
find_button = gtk_button_new_with_label ("Find");
g_signal_connect (find_button, "clicked",