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:
parent
0fd6ae5330
commit
c72ae375c8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user