[network-manager-applet/menu-rework] menu: drop overly strict assertion



commit 44f9d86819645161ad884f69b32db8096f7c62a9
Author: Alexander Sack <asac ubuntu com>
Date:   Wed Sep 30 09:25:02 2009 -0700

    menu: drop overly strict assertion

 src/applet.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index 7ea2df0..9892aa2 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -464,7 +464,6 @@ applet_menu_add_items_top_and_fold_sorted_helper (GtkMenu *menu,
 	int i;
 
 	g_assert (menu);
-	g_assert (items);
 	g_assert (top_count > 0);
 	g_assert (submenu_item);
 	g_assert (prio_cmp_func);



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