forked from enlightenment/enlightenment
Use a better null trap for e_theme_config_get returning NULL. This should
allow a theme to still be set. SVN revision: 31071
This commit is contained in:
parent
aeacbf6530
commit
9bfeb09b7f
|
@ -475,8 +475,10 @@ _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
|||
|
||||
/* Actually take our cfdata settings and apply them in real life */
|
||||
ct = e_theme_config_get("theme");
|
||||
if (!ct) return 0;
|
||||
if (!strcmp(ct->file, cfdata->theme)) return 1;
|
||||
if (ct)
|
||||
{
|
||||
if (!strcmp(ct->file, cfdata->theme)) return 1;
|
||||
}
|
||||
|
||||
e_theme_config_set("theme", cfdata->theme);
|
||||
e_config_save_queue();
|
||||
|
|
Loading…
Reference in New Issue