[gnome-menus] libmenu: Fix build failure with --enable-debug
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-menus] libmenu: Fix build failure with --enable-debug
- Date: Mon, 29 Aug 2011 06:44:34 +0000 (UTC)
commit ecb47adb12c8ec9a3998efa96656dfedfe002525
Author: Vincent Untz <vuntz gnome org>
Date: Mon Aug 29 08:43:26 2011 +0200
libmenu: Fix build failure with --enable-debug
gmenu_tree_entry_get_name() was still being used.
https://bugzilla.gnome.org/show_bug.cgi?id=656714
libmenu/gmenu-tree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libmenu/gmenu-tree.c b/libmenu/gmenu-tree.c
index bb7a5e6..f580af0 100644
--- a/libmenu/gmenu-tree.c
+++ b/libmenu/gmenu-tree.c
@@ -3675,7 +3675,7 @@ preprocess_layout_info_subdir_helper (GMenuTree *tree,
menu_verbose ("Inline aliasing '%s' to '%s'\n",
item->type == GMENU_TREE_ITEM_ENTRY ?
- gmenu_tree_entry_get_name (GMENU_TREE_ENTRY (item)) :
+ g_app_info_get_name (G_APP_INFO (gmenu_tree_entry_get_app_info (GMENU_TREE_ENTRY (item)))) :
(item->type == GMENU_TREE_ITEM_DIRECTORY ?
gmenu_tree_directory_get_name (GMENU_TREE_DIRECTORY (item)) :
gmenu_tree_directory_get_name (GMENU_TREE_ALIAS (item)->directory)),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]