[gtk+/combo-refactor: 11/32] Fixed trailing '; ' on if statement in gtkmenuitem.c



commit 59e580e5e1558da34f6c5661380cfdec080150d3
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Fri Nov 19 14:56:59 2010 +0900

    Fixed trailing ';' on if statement in gtkmenuitem.c

 gtk/gtkmenuitem.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkmenuitem.c b/gtk/gtkmenuitem.c
index cc2f7b9..9f11327 100644
--- a/gtk/gtkmenuitem.c
+++ b/gtk/gtkmenuitem.c
@@ -700,7 +700,7 @@ gtk_menu_item_get_preferred_width (GtkWidget *request,
     min_width += 2 * horizontal_padding;
 
   nat_width = min_width;
-
+	  
   child = gtk_bin_get_child (bin);
 
   if (child != NULL && gtk_widget_get_visible (child))
@@ -710,7 +710,7 @@ gtk_menu_item_get_preferred_width (GtkWidget *request,
 
       gtk_widget_get_preferred_width (child, &child_min, &child_nat);
 
-      if ((menu_item->submenu && !GTK_IS_MENU_BAR (parent)) || priv->reserve_indicator);
+      if ((menu_item->submenu && !GTK_IS_MENU_BAR (parent)) || priv->reserve_indicator)
 	{
 	  guint arrow_spacing;
 	  gint  arrow_size;



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