[ekiga] Fixed bug #720627
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Fixed bug #720627
- Date: Tue, 17 Dec 2013 19:35:06 +0000 (UTC)
commit 9ca71a31b8632e26cd4a5ef48dbd4727d261680e
Author: Julien Puydt <jpuydt free fr>
Date: Tue Dec 17 20:34:24 2013 +0100
Fixed bug #720627
It was a trivial problem, detected by cppcheck.
lib/gui/gmmenuaddon.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/gui/gmmenuaddon.c b/lib/gui/gmmenuaddon.c
index 554877d..f167def 100644
--- a/lib/gui/gmmenuaddon.c
+++ b/lib/gui/gmmenuaddon.c
@@ -358,7 +358,7 @@ gtk_menu_section_set_sensitive (GtkWidget *menu,
menu_item = (GtkWidget *) g_object_get_data (G_OBJECT (menu), id);
menu_entry = (MenuEntry *) g_object_get_data (G_OBJECT (menu), "menu_entry");
- if (menu_item && menu_item) {
+ if (menu_item && menu_entry) {
while (menu_entry [i].type != MENU_END
&& menu_entry [i].widget != menu_item)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]