diff options
author | Timm Bäder <mail@baedert.org> | 2018-12-26 08:20:34 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-01-23 19:30:46 -0500 |
commit | bd71e744d2e5dbd853f0c719dd3ebe6abb2f72b6 (patch) | |
tree | 6478bd038c42a535caacf65f948892a9d0dfe5e9 /docs | |
parent | 09361e76659bd1951a222cd64537abacc6a6f44a (diff) | |
download | gtk+-bd71e744d2e5dbd853f0c719dd3ebe6abb2f72b6.tar.gz |
Stop using gtk_box_pack_end
It might soon go away!
Diffstat (limited to 'docs')
-rw-r--r-- | docs/tools/widgets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c index d74f5fb83b..b27ec7675a 100644 --- a/docs/tools/widgets.c +++ b/docs/tools/widgets.c @@ -991,7 +991,7 @@ create_statusbar (void) gtk_widget_set_halign (widget, GTK_ALIGN_FILL); gtk_statusbar_push (GTK_STATUSBAR (widget), 0, "Hold on..."); - gtk_box_pack_end (GTK_BOX (vbox), widget); + gtk_container_add (GTK_CONTAINER (vbox), widget); info = new_widget_info ("statusbar", vbox, SMALL); @@ -1074,7 +1074,7 @@ create_volume_button (void) gtk_container_add (GTK_CONTAINER (widget), box); button = gtk_volume_button_new (); - gtk_box_pack_end (GTK_BOX (box), button); + gtk_container_add (GTK_CONTAINER (box), button); gtk_scale_button_set_value (GTK_SCALE_BUTTON (button), 33); popup = gtk_scale_button_get_popup (GTK_SCALE_BUTTON (button)); |