[gtk+/quartz-integration: 72/108] menubar: Remove unused variable



commit 2338cb890cb210414926ff3869d1cff48b76402c
Author: Benjamin Otte <otte redhat com>
Date:   Sat Apr 30 05:42:00 2011 +0200

    menubar: Remove unused variable

 gtk/gtkmenubar.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c
index d790e31..42dadbd 100644
--- a/gtk/gtkmenubar.c
+++ b/gtk/gtkmenubar.c
@@ -301,7 +301,6 @@ gtk_menu_bar_size_request (GtkWidget      *widget,
   GtkMenuShell *menu_shell;
   GtkWidget *child;
   GList *children;
-  gint nchildren;
   GtkRequisition child_requisition;
   gint ipadding;
   guint border_width;
@@ -316,7 +315,6 @@ gtk_menu_bar_size_request (GtkWidget      *widget,
   menu_shell = GTK_MENU_SHELL (widget);
   priv = menu_bar->priv;
 
-  nchildren = 0;
   children = menu_shell->priv->children;
 
   while (children)
@@ -349,7 +347,6 @@ gtk_menu_bar_size_request (GtkWidget      *widget,
               requisition->width = MAX (requisition->width, child_requisition.width);
               requisition->height += child_requisition.height;
             }
-          nchildren += 1;
         }
     }
 



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