[Xfce4-commits] <garcon:master> Small function cleanup.
Nick Schermer
noreply at xfce.org
Tue Jun 28 23:46:06 CEST 2011
Updating branch refs/heads/master
to 6f94f8b90ea802df19fb84e2e00b1d8fb3bb9c50 (commit)
from 0e78e9a3279774c48ce181e0c3f8548faef3935e (commit)
commit 6f94f8b90ea802df19fb84e2e00b1d8fb3bb9c50
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 6539036..0570d6d 100644
--- a/garcon/garcon-menu-item.c
+++ b/garcon/garcon-menu-item.c
@@ -668,16 +668,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