[gtk+] menubar: Respect ipadding also in y direction
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] menubar: Respect ipadding also in y direction
- Date: Sun, 1 May 2011 06:03:33 +0000 (UTC)
commit ae32f2fe90632fa477fdf353ff2ec610b58f4cc4
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]