summaryrefslogtreecommitdiff
path: root/gtk/gtkmenubar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-11-16 14:08:53 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-11-16 14:52:21 -0500
commitcb24305f1bd81051c1baf5ca2d5d0a815bf89b54 (patch)
treeef7b190e453c3840f7db63f9cd796985cc80ef6f /gtk/gtkmenubar.c
parent805bf49be94d1adfd7b88770540c17a9e025e14c (diff)
downloadgtk+-cb24305f1bd81051c1baf5ca2d5d0a815bf89b54.tar.gz
Trivial cleanup
Diffstat (limited to 'gtk/gtkmenubar.c')
-rw-r--r--gtk/gtkmenubar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c
index 24872af261..cf84de8379 100644
--- a/gtk/gtkmenubar.c
+++ b/gtk/gtkmenubar.c
@@ -494,9 +494,9 @@ gtk_menu_bar_size_allocate (GtkWidget *widget,
remaining_space.x = (border_width + border.left);
remaining_space.y = (border_width + border.top);
remaining_space.width = allocation->width -
- 2 * (border_width) - border.left - border.right;
+ 2 * border_width - border.left - border.right;
remaining_space.height = allocation->height -
- 2 * (border_width) - border.top - border.bottom;
+ 2 * border_width - border.top - border.bottom;
if (get_shadow_type (menu_bar) != GTK_SHADOW_NONE)
{