summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-09-25 17:14:27 +0100
committerTom Hacohen <tom@stosb.com>2014-09-25 17:14:27 +0100
commit6e7686c030fab162edb3128de005ec00ea8c0ffc (patch)
treed7cb8b13d158083b493c88a0c354d225e737c4e7
parent86e6b8bc5ba8e7939a18e14fe9e37d80d2699fe8 (diff)
Elm win: Fixed wrong deletion of win objects.
Some of them may be reference still, you don't want to do this.
-rw-r--r--src/lib/elm_win.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 54d1853d7..c77482f44 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -2105,7 +2105,10 @@ _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 while (_elm_win_list) evas_object_del(_elm_win_list->data); 2108 Eina_List *itr, *itrn;
2109 Evas_Object *obj;
2110 EINA_LIST_FOREACH_SAFE(_elm_win_list, itr, itrn, obj)
2111 evas_object_del(obj);
2109 ELM_SAFE_FREE(_elm_win_state_eval_job, ecore_job_del); 2112 ELM_SAFE_FREE(_elm_win_state_eval_job, ecore_job_del);
2110} 2113}
2111 2114