diff options
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r-- | tests/testgtk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index d76e0666ab..baced40a84 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -1571,7 +1571,7 @@ create_handle_box (void) gtk_widget_show (label); handle_box = gtk_handle_box_new (); - gtk_container_add (GTK_CONTAINER (hbox), handle_box); + gtk_box_pack_start (GTK_BOX (hbox), handle_box, FALSE, FALSE, 0); gtk_signal_connect (GTK_OBJECT (handle_box), "child_attached", GTK_SIGNAL_FUNC (handle_box_child_signal), @@ -1588,7 +1588,7 @@ create_handle_box (void) gtk_widget_show (toolbar); handle_box = gtk_handle_box_new (); - gtk_container_add (GTK_CONTAINER (hbox), handle_box); + gtk_box_pack_start (GTK_BOX (hbox), handle_box, FALSE, FALSE, 0); gtk_signal_connect (GTK_OBJECT (handle_box), "child_attached", GTK_SIGNAL_FUNC (handle_box_child_signal), |