forked from enlightenment/efl
efreet: use efreet_desktop_new, not get
As we free the desktop in the same func, use uncached version SVN revision: 47567
This commit is contained in:
parent
68d33e8c59
commit
434759396a
|
@ -41,7 +41,7 @@ cache_add(const char *path, const char *file_id, int priority __UNUSED__, int *c
|
|||
|
||||
ext = strrchr(path, '.');
|
||||
if (!ext || (strcmp(ext, ".desktop") && strcmp(ext, ".directory"))) return 1;
|
||||
desk = efreet_desktop_get(path);
|
||||
desk = efreet_desktop_new(path);
|
||||
if (!desk || (desk->type != EFREET_DESKTOP_TYPE_APPLICATION &&
|
||||
desk->type != EFREET_DESKTOP_TYPE_DIRECTORY))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue