tests/elm: check all objects for signal interface before calling signal funcs

just being extra paranoid here since there's some classes which implement
some layout/content interfaces without implementing signals

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11749
This commit is contained in:
Mike Blumenkrantz 2020-04-22 13:15:45 -04:00 committed by Stefan Schmidt
parent c622bd2e23
commit c6a9574f10
1 changed files with 3 additions and 1 deletions

View File

@ -524,7 +524,9 @@ click_part_flags_internal(Eo *obj, const char *part, int flags, Eina_Bool up)
click_object_internal(content, dir, flags, up);
if (efl_isa(content, EFL_LAYOUT_SIGNAL_INTERFACE))
edje_object_message_signal_process(content);
edje_object_message_signal_process(obj);
/* can be false if obj is an elm_widget_item */
if (efl_isa(obj, EFL_LAYOUT_SIGNAL_INTERFACE))
edje_object_message_signal_process(obj);
efl_unref(part_obj);
}