[gimp/gtk3-port: 317/444] app: pack the content vbox expanding in GimpPrefsBox



commit 8ba61d9974c5ca123a2daf244a737db6e0d384e5
Author: Michael Natterer <mitch gimp org>
Date:   Thu May 3 03:59:32 2018 +0200

    app: pack the content vbox expanding in GimpPrefsBox

 app/widgets/gimpprefsbox.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpprefsbox.c b/app/widgets/gimpprefsbox.c
index 77f82d7..b940034 100644
--- a/app/widgets/gimpprefsbox.c
+++ b/app/widgets/gimpprefsbox.c
@@ -357,7 +357,7 @@ gimp_prefs_box_add_page (GimpPrefsBox      *box,
   scrolled_win = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_win),
                                   GTK_POLICY_NEVER, GTK_POLICY_NEVER);
-  gtk_container_add (GTK_CONTAINER (page_vbox), scrolled_win);
+  gtk_box_pack_start (GTK_BOX (page_vbox), scrolled_win, TRUE, TRUE, 0);
   gtk_widget_show (scrolled_win);
 
   gimp_help_set_help_data (scrolled_win, NULL, help_id);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]