[gnome-menus] libmenu: Rename gmenu_tree_alias_get_item_type



commit 0d5f1909518f86d7283cde404e9470e6f55a42d2
Author: Vincent Untz <vuntz gnome org>
Date:   Sun Jun 12 11:41:20 2011 +0200

    libmenu: Rename gmenu_tree_alias_get_item_type
    
    Renamed to gmenu_tree_alias_get_aliased_item_type, to avoid any
    potential confusion about the typoe of what item this is.

 libmenu/gmenu-tree.c |    2 +-
 libmenu/gmenu-tree.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libmenu/gmenu-tree.c b/libmenu/gmenu-tree.c
index 17c0ae5..84d3bda 100644
--- a/libmenu/gmenu-tree.c
+++ b/libmenu/gmenu-tree.c
@@ -1069,7 +1069,7 @@ gmenu_tree_header_get_directory (GMenuTreeHeader *header)
 }
 
 GMenuTreeItemType
-gmenu_tree_alias_get_item_type (GMenuTreeAlias *alias)
+gmenu_tree_alias_get_aliased_item_type (GMenuTreeAlias *alias)
 {
   g_return_val_if_fail (alias != NULL, GMENU_TREE_ITEM_INVALID);
 
diff --git a/libmenu/gmenu-tree.h b/libmenu/gmenu-tree.h
index 8881e44..0ba91dd 100644
--- a/libmenu/gmenu-tree.h
+++ b/libmenu/gmenu-tree.h
@@ -132,7 +132,7 @@ gboolean gmenu_tree_entry_get_is_excluded  (GMenuTreeEntry *entry);
 GMenuTreeDirectory *gmenu_tree_header_get_directory (GMenuTreeHeader *header);
 
 GMenuTreeDirectory *gmenu_tree_alias_get_directory         (GMenuTreeAlias *alias);
-GMenuTreeItemType   gmenu_tree_alias_get_item_type         (GMenuTreeAlias *alias);
+GMenuTreeItemType   gmenu_tree_alias_get_aliased_item_type (GMenuTreeAlias *alias);
 GMenuTreeDirectory *gmenu_tree_alias_get_aliased_directory (GMenuTreeAlias *alias);
 GMenuTreeEntry     *gmenu_tree_alias_get_aliased_entry     (GMenuTreeAlias *alias);
 



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