[gtk+/combo-refactor: 10/59] Fixed trailing '; ' on if statement in gtkmenuitem.c
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/combo-refactor: 10/59] Fixed trailing '; ' on if statement in gtkmenuitem.c
- Date: Tue, 4 Jan 2011 15:09:20 +0000 (UTC)
commit 1cacae9cc4702ff7372fcdaa23db1afce84d6e77
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 8c08a63..5e25319 100644
--- a/gtk/gtkmenuitem.c
+++ b/gtk/gtkmenuitem.c
@@ -704,7 +704,7 @@ gtk_menu_item_get_preferred_width (GtkWidget *widget,
min_width += 2 * horizontal_padding;
nat_width = min_width;
-
+
child = gtk_bin_get_child (bin);
if (child != NULL && gtk_widget_get_visible (child))
@@ -714,7 +714,7 @@ gtk_menu_item_get_preferred_width (GtkWidget *widget,
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]