fix annoying null error spam

SVN revision: 72111
This commit is contained in:
Mike Blumenkrantz 2012-06-14 08:29:53 +00:00
parent 8d363e06fe
commit 9d8a7e0095
1 changed files with 2 additions and 1 deletions

View File

@ -707,7 +707,8 @@ efreet_desktop_application_fields_parse(Efreet_Desktop *desktop, Efreet_Ini *ini
if (val) desktop->startup_wm_class = strdup(val);
val = efreet_ini_string_get(ini, "Categories");
desktop->categories = efreet_desktop_string_list_parse(val);
if (val)
desktop->categories = efreet_desktop_string_list_parse(val);
val = efreet_ini_string_get(ini, "MimeType");
if (val) desktop->mime_types = efreet_desktop_string_list_parse(val);