app-system: Remove last real use of shell_app_get_tree_entry

We want to replace our GMenuTreeEntries with GDesktopAppInfos

https://bugzilla.gnome.org/show_bug.cgi?id=698486
This commit is contained in:
Jasper St. Pierre 2013-02-08 22:46:31 -05:00
parent 0fd6ae5330
commit c72ae375c8

View File

@ -471,7 +471,7 @@ shell_app_system_lookup_app_for_path (ShellAppSystem *system,
if (!app)
return NULL;
app_path = gmenu_tree_entry_get_desktop_file_path (shell_app_get_tree_entry (app));
app_path = g_desktop_app_info_get_filename (shell_app_get_app_info (app));
if (strcmp (desktop_path, app_path) != 0)
return NULL;