summaryrefslogtreecommitdiff
path: root/src/lib/elm_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elm_win.c')
-rw-r--r--src/lib/elm_win.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 1e6b9985e..ed6a2e71f 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -2105,10 +2105,15 @@ _elm_win_on_resize_obj_changed_size_hints(void *data,
2105void 2105void
2106_elm_win_shutdown(void) 2106_elm_win_shutdown(void)
2107{ 2107{
2108 Eina_List *itr, *itrn; 2108 while (_elm_win_list)
2109 Evas_Object *obj; 2109 {
2110 EINA_LIST_FOREACH_SAFE(_elm_win_list, itr, itrn, obj) 2110 Eina_List *itr = _elm_win_list;
2111 evas_object_del(obj); 2111 evas_object_del(itr->data);
2112 if (_elm_win_list == itr)
2113 {
2114 _elm_win_list = eina_list_remove_list(_elm_win_list, _elm_win_list);
2115 }
2116 }
2112 ELM_SAFE_FREE(_elm_win_state_eval_job, ecore_job_del); 2117 ELM_SAFE_FREE(_elm_win_state_eval_job, ecore_job_del);
2113} 2118}
2114 2119