[Xfce4-commits] <garcon:master> Fix small typo.

Nick Schermer nick at xfce.org
Mon Aug 17 21:54:01 CEST 2009


Updating branch refs/heads/master
         to faa3f82ab50c04ab62448a39629fcba6f5957a7e (commit)
       from 833c813b070671bd374e59a3b1dfa715ea046d4f (commit)

commit faa3f82ab50c04ab62448a39629fcba6f5957a7e
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Aug 17 21:52:35 2009 +0200

    Fix small typo.

 garcon/garcon-menu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/garcon/garcon-menu.c b/garcon/garcon-menu.c
index 6393ff7..8b786e1 100644
--- a/garcon/garcon-menu.c
+++ b/garcon/garcon-menu.c
@@ -1295,7 +1295,7 @@ garcon_menu_get_elements (GarconMenu *menu)
           if (G_LIKELY (item != NULL))
             items = g_list_append (items, item);
         }
-      if (type == GARCON_MENU_NODE_TYPE_MENUNAME)
+      else if (type == GARCON_MENU_NODE_TYPE_MENUNAME)
         {
           /* Search submenu with this name */
           submenu = garcon_menu_get_menu_with_name (menu,



More information about the Xfce4-commits mailing list