entrance: do not sent the pools twice

This commit is contained in:
Marcel Hollerbach 2014-05-14 16:07:18 +02:00
parent b843665951
commit 0b66634b24
1 changed files with 0 additions and 14 deletions

View File

@ -40,21 +40,7 @@ _entrance_server_add(void *data EINA_UNUSED, int type EINA_UNUSED, void *event E
eev.event.conf_gui.enabled = EINA_TRUE;
eev.event.conf_gui.bg.path = entrance_config->bg.path;
eev.event.conf_gui.bg.group = entrance_config->bg.group;
eev.event.conf_gui.background_pool = entrance_image_system_backgrounds();
eev.event.conf_gui.icon_pool = entrance_image_system_icons();
entrance_event_send(&eev);
EINA_LIST_FREE(eev.event.conf_gui.background_pool, img)
{
eina_stringshare_del(img->path);
eina_stringshare_del(img->group);
free(img);
}
EINA_LIST_FREE(eev.event.conf_gui.icon_pool, img)
{
eina_stringshare_del(img->path);
eina_stringshare_del(img->group);
free(img);
}
}
PT("Sending pools\n");
eev.type = ENTRANCE_EVENT_POOLS;