yoz pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=de2f271f038206d862e4722969338cf919b855f0
commit de2f271f038206d862e4722969338cf919b855f0 Author: Michaƫl Bouchaud (yoz) <[email protected]> Date: Tue May 13 18:00:26 2014 +0200 entrance: temporary fix this mess --- src/bin/entrance_gui.c | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/src/bin/entrance_gui.c b/src/bin/entrance_gui.c index 3787ed9..fd55745 100644 --- a/src/bin/entrance_gui.c +++ b/src/bin/entrance_gui.c @@ -459,21 +459,28 @@ void entrance_gui_conf_set(const Entrance_Conf_Gui_Event *conf) { Entrance_Image *img; - EINA_LIST_FREE(_gui->background_pool, img) + + if (conf->background_pool) { - eina_stringshare_del(img->path); - eina_stringshare_del(img->group); - free(img); - } - _gui->background_pool = conf->background_pool; + EINA_LIST_FREE(_gui->background_pool, img) + { + eina_stringshare_del(img->path); + eina_stringshare_del(img->group); + free(img); + } + _gui->background_pool = conf->background_pool; + } - EINA_LIST_FREE(_gui->icon_pool, img) + if (conf->icon_pool) { - eina_stringshare_del(img->path); - eina_stringshare_del(img->group); - free(img); + EINA_LIST_FREE(_gui->icon_pool, img) + { + eina_stringshare_del(img->path); + eina_stringshare_del(img->group); + free(img); + } + _gui->icon_pool = conf->icon_pool; } - _gui->icon_pool = conf->icon_pool; if (_gui->bg.path != conf->bg.path) { --
