[gtk+] menubar: Remove unused variable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] menubar: Remove unused variable
- Date: Sun, 1 May 2011 06:02:37 +0000 (UTC)
commit d8dfa74b4eb667e01810e4883aa399f4dc3898ec
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]