forked from enlightenment/efl
edje_program: add NULL checking
This commit is contained in:
parent
0f929f5546
commit
e811484ba5
|
@ -231,10 +231,11 @@ edje_object_propagate_callback_add(Evas_Object *obj, void (*func)(void *data, Ev
|
||||||
sig = eina_stringshare_add("*");
|
sig = eina_stringshare_add("*");
|
||||||
src = eina_stringshare_add("*");
|
src = eina_stringshare_add("*");
|
||||||
|
|
||||||
_edje_signal_callback_push(ed->callbacks,
|
if (ed->callbacks)
|
||||||
sig, src,
|
_edje_signal_callback_push(ed->callbacks,
|
||||||
func, data,
|
sig, src,
|
||||||
EINA_TRUE);
|
func, data,
|
||||||
|
EINA_TRUE);
|
||||||
|
|
||||||
eina_stringshare_del(sig);
|
eina_stringshare_del(sig);
|
||||||
eina_stringshare_del(src);
|
eina_stringshare_del(src);
|
||||||
|
|
Loading…
Reference in New Issue