projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ed76f6
)
elm_transit.c: ELM_SAFE_FREE adoption.
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Wed, 29 May 2013 12:09:21 +0000
(21:09 +0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Wed, 29 May 2013 12:09:21 +0000
(21:09 +0900)
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer
3072dab12f12fe83fb5a628d15efd5cded11787f
.
src/lib/elm_transit.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_transit.c
b/src/lib/elm_transit.c
index
0df7897
..
c54df58
100644
(file)
--- a/
src/lib/elm_transit.c
+++ b/
src/lib/elm_transit.c
@@
-258,7
+258,7
@@
_transit_del(Elm_Transit *transit)
transit->deleted = EINA_TRUE;
- ELM_
FREE_FUNC
(transit->animator, ecore_animator_del);
+ ELM_
SAFE_FREE
(transit->animator, ecore_animator_del);
//remove effects
while (transit->effect_list)
@@
-716,7
+716,7
@@
elm_transit_go(Elm_Transit *transit)
Eina_List *elist;
Evas_Object *obj;
- ELM_
FREE_FUNC
(transit->animator, ecore_animator_del);
+ ELM_
SAFE_FREE
(transit->animator, ecore_animator_del);
EINA_LIST_FOREACH(transit->objs, elist, obj)
_transit_obj_data_update(transit, obj);