[gtk+] buttonbox: Fix size request



commit 0520ca3bdff9a8fc16c3a4110a28052051b4602e
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Dec 20 17:03:06 2015 -0500

    buttonbox: Fix size request
    
    A copy-paste mistake was making us always request too little
    space, causing the buttons to be jumbled or cut off.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=759664

 gtk/gtkbbox.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkbbox.c b/gtk/gtkbbox.c
index fd2a654..ab67237 100644
--- a/gtk/gtkbbox.c
+++ b/gtk/gtkbbox.c
@@ -911,7 +911,6 @@ gtk_button_box_measure (GtkCssGadget   *gadget,
   else
     *minimum = *natural = requisition.height;
 
-  *minimum = *natural = requisition.height;
   if (minimum_baseline)
     *minimum_baseline = baseline;
   if (natural_baseline)


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