[gimp] libgimpwidgets: make GimpColorSelection's main_hbox expand vertically



commit aafc2368cd0e72b69984c356454df891f167fc59
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.

 libgimpwidgets/gimpcolorselection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/gimpcolorselection.c b/libgimpwidgets/gimpcolorselection.c
index ada9ce2..cd483b5 100644
--- a/libgimpwidgets/gimpcolorselection.c
+++ b/libgimpwidgets/gimpcolorselection.c
@@ -171,7 +171,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]