[Xfce4-commits] <garcon:nick/xfcerc> Small function cleanup.
Nick Schermer
noreply at xfce.org
Mon Jun 27 21:06:02 CEST 2011
Updating branch refs/heads/nick/xfcerc
to b78a2320db183a1ddf0a0fca205647e4272f668d (commit)
from ee83103b04771908e1e5776d30df62960685980d (commit)
commit b78a2320db183a1ddf0a0fca205647e4272f668d
Author: Nick Schermer <nick at xfce.org>
Date: Mon Jun 27 20:53:16 2011 +0200
Small function cleanup.
garcon/garcon-menu-item.c | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/garcon/garcon-menu-item.c b/garcon/garcon-menu-item.c
index d6686d6..0ddaf37 100644
--- a/garcon/garcon-menu-item.c
+++ b/garcon/garcon-menu-item.c
@@ -669,16 +669,10 @@ static gboolean
garcon_menu_item_category_lists_equal (GList *categories1,
GList *categories2)
{
- gboolean element_missing = FALSE;
- GList *lp;
+ gboolean element_missing = FALSE;
+ GList *lp;
- guint size1;
- guint size2;
-
- size1 = g_list_length (categories1);
- size2 = g_list_length (categories2);
-
- if (size1 != size2)
+ if (g_list_length (categories1) != g_list_length (categories2))
return FALSE;
for (lp = categories1; !element_missing && lp != NULL; lp = lp->next)
More information about the Xfce4-commits
mailing list