summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-04-22 13:15:45 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2020-04-28 13:48:29 +0200
commitc6a9574f10d556bfb35b3e01aff981331431fcc6 (patch)
treead4c2255ef08c13f6f704b0b0f39c37cae263128
parentc622bd2e2353518dda6edf2742213fae6ba17d6b (diff)
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
-rw-r--r--src/tests/elementary/suite_helpers.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/elementary/suite_helpers.c b/src/tests/elementary/suite_helpers.c
index a5d8b051de..34e9de772d 100644
--- a/src/tests/elementary/suite_helpers.c
+++ b/src/tests/elementary/suite_helpers.c
@@ -524,7 +524,9 @@ click_part_flags_internal(Eo *obj, const char *part, int flags, Eina_Bool up)
524 click_object_internal(content, dir, flags, up); 524 click_object_internal(content, dir, flags, up);
525 if (efl_isa(content, EFL_LAYOUT_SIGNAL_INTERFACE)) 525 if (efl_isa(content, EFL_LAYOUT_SIGNAL_INTERFACE))
526 edje_object_message_signal_process(content); 526 edje_object_message_signal_process(content);
527 edje_object_message_signal_process(obj); 527 /* can be false if obj is an elm_widget_item */
528 if (efl_isa(obj, EFL_LAYOUT_SIGNAL_INTERFACE))
529 edje_object_message_signal_process(obj);
528 efl_unref(part_obj); 530 efl_unref(part_obj);
529} 531}
530 532