projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f929f5
)
edje_program: add NULL checking
author
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Wed, 28 Sep 2016 05:47:26 +0000
(14:47 +0900)
committer
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Wed, 28 Sep 2016 05:47:26 +0000
(14:47 +0900)
src/lib/edje/edje_program.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_program.c
b/src/lib/edje/edje_program.c
index
bb3675d
..
30cfe44
100644
(file)
--- a/
src/lib/edje/edje_program.c
+++ b/
src/lib/edje/edje_program.c
@@
-231,10
+231,11
@@
edje_object_propagate_callback_add(Evas_Object *obj, void (*func)(void *data, Ev
sig = eina_stringshare_add("*");
src = eina_stringshare_add("*");
- _edje_signal_callback_push(ed->callbacks,
- sig, src,
- func, data,
- EINA_TRUE);
+ if (ed->callbacks)
+ _edje_signal_callback_push(ed->callbacks,
+ sig, src,
+ func, data,
+ EINA_TRUE);
eina_stringshare_del(sig);
eina_stringshare_del(src);