[gtk+] Fix some compilation warning
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Fix some compilation warning
- Date: Wed, 21 Oct 2009 00:44:01 +0000 (UTC)
commit 13ff5575872c89abb12b8b7620bfd3745aaf53a5
Author: Javier Jardón <jjardon gnome org>
Date: Wed Oct 21 02:37:05 2009 +0200
Fix some compilation warning
Complete the previous patch: set lower to 0 too
gtk/gtkmenu.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 9d3107b..0bdf1de 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -2734,6 +2734,7 @@ get_arrows_visible_area (GtkMenu *menu,
default:
g_assert_not_reached();
upper->x = upper->y = upper->width = upper->height = 0;
+ lower->x = lower->y = lower->width = lower->height = 0;
}
*arrow_space = scroll_arrow_height - 2 * widget->style->ythickness;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]