[gtk+/quartz-integration: 83/108] menubar: Respect ipadding also in y direction



commit 5372fb718481e94daeb54cfc10ce797b2bf18a87
Author: Benjamin Otte <otte redhat com>
Date:   Sun May 1 05:30:42 2011 +0200

    menubar: Respect ipadding also in y direction

 gtk/gtkmenubar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c
index fb823d3..a50a25c 100644
--- a/gtk/gtkmenubar.c
+++ b/gtk/gtkmenubar.c
@@ -496,6 +496,7 @@ gtk_menu_bar_size_allocate (GtkWidget     *widget,
 			    ipadding + 
 			    BORDER_SPACING);
       child_allocation.y = (border_width +
+                            ipadding +
 			    BORDER_SPACING);
       
       if (get_shadow_type (menu_bar) != GTK_SHADOW_NONE)



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