aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-05-23 15:54:49 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-05-23 15:54:49 +0900
commit5f053bf79ae6c8e9fc11ddb52eed85b00c954d4b (patch)
tree4a9b1d8a166b9a1955604daa2c48b10df80007b1 /legacy/elementary/src/lib/elm_win.c
parent[toolbar] fixed code for verification(ecore_job_add) (diff)
downloadefl-5f053bf79ae6c8e9fc11ddb52eed85b00c954d4b.tar.gz
elm: refactoring. use more ELM_FREE_FUNC.
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index bcef268787..39e9230af5 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -1469,10 +1469,11 @@ _elm_win_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
ecore_evas_callback_delete_request_set(sd->ee, NULL);
ecore_evas_callback_resize_set(sd->ee, NULL);
}
- if (sd->deferred_resize_job) ecore_job_del(sd->deferred_resize_job);
- if (sd->deferred_child_eval_job) ecore_job_del(sd->deferred_child_eval_job);
- if (sd->shot.info) eina_stringshare_del(sd->shot.info);
- if (sd->shot.timer) ecore_timer_del(sd->shot.timer);
+
+ ELM_FREE_FUNC(sd->deferred_resize_job, ecore_job_del);
+ ELM_FREE_FUNC(sd->deferred_child_eval_job, ecore_job_del);
+ ELM_FREE_FUNC(sd->shot.info, eina_stringshare_del);
+ ELM_FREE_FUNC(sd->shot.timer, ecore_timer_del);
#ifdef HAVE_ELEMENTARY_X
if (sd->x.client_message_handler)