[gimp/gimp-2-8] libgimpwidgets: make GimpColorSelection's main_hbox expand vertically



commit d6c18b2a99d07f9ee76e8123c25c82cecba90d59
Author: Michael Natterer <mitch gimp org>
Date:   Sat Nov 29 12:52:26 2014 +0100

    libgimpwidgets: make GimpColorSelection's main_hbox expand vertically
    
    so the color dialogs become properly resizable again. This must have
    been broken for ages.
    
    (cherry picked from commit aafc2368cd0e72b69984c356454df891f167fc59)

 libgimpwidgets/gimpcolorselection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/gimpcolorselection.c b/libgimpwidgets/gimpcolorselection.c
index acea552..9796cee 100644
--- a/libgimpwidgets/gimpcolorselection.c
+++ b/libgimpwidgets/gimpcolorselection.c
@@ -170,7 +170,7 @@ gimp_color_selection_init (GimpColorSelection *selection)
   selection->channel = GIMP_COLOR_SELECTOR_HUE;
 
   main_hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
-  gtk_container_add (GTK_CONTAINER (selection), main_hbox);
+  gtk_box_pack_start (GTK_BOX (selection), main_hbox, TRUE, TRUE, 0);
   gtk_widget_show (main_hbox);
 
   /*  The left vbox with the notebook  */


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