[gtk+] Trivial cleanup



commit cb24305f1bd81051c1baf5ca2d5d0a815bf89b54
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Nov 16 14:08:53 2013 -0500

    Trivial cleanup

 gtk/gtkmenubar.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c
index 24872af..cf84de8 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)
        {


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