Create desktop edd when needed

SVN revision: 55136
This commit is contained in:
Sebastian Dransfeld 2010-12-02 08:32:39 +00:00
parent bbd2b07962
commit 4615570ec9
1 changed files with 1 additions and 3 deletions

View File

@ -97,8 +97,6 @@ efreet_cache_init(void)
_efreet_cache_log_dom = eina_log_domain_register("efreet_cache", EFREET_DEFAULT_LOG_COLOR);
if (_efreet_cache_log_dom < 0)
return 0;
if (!efreet_desktop_edd())
goto error;
#ifdef ICON_CACHE
EFREET_EVENT_ICON_CACHE_UPDATE = ecore_event_type_new();
@ -583,7 +581,7 @@ efreet_cache_desktop_find(const char *file)
if (!desktop_cache)
return NULL;
desktop = eet_data_read(desktop_cache, desktop_edd, rp);
desktop = eet_data_read(desktop_cache, efreet_desktop_edd(), rp);
if (!desktop) return NULL;
desktop->ref = 1;
desktop->eet = 1;