summaryrefslogtreecommitdiff
path: root/src/Makefile_Edje.am
diff options
context:
space:
mode:
authorSungtaek Hong <sth253.hong@samsung.com>2017-07-17 15:05:19 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-07-17 15:05:20 +0900
commitd545929845925997e8a8a4f0e4a43d7662e2a457 (patch)
tree575530e35c0cb004a63557e15bcb4e305aa698be /src/Makefile_Edje.am
parent9baa8752a9170e68e9430474f26cc1e672677d8e (diff)
edje_signal: reduce member count when deleted edje_signal_callback is found
Summary: - when deleted callback is found _edje_signal_callback_move_last() is called in order to pack match array. - during _edje_signal_callback_move_last() index skips when another deleted callback is found, but does not reduce members_count. - this duplicates a remaining callback and calls the callback twice. Test Plan: 1. add multiple edje_signal_callback by edje_object_signal_callback_add() which have the same source, signal, func but different data. 2. delete first and last callback by edje_object_signal_callback_del/edje_object_signal_callback_del_full. 3. emit edje_signal. 4. observe one callback is called twice. Reviewers: SanghyeonLee, conr2d, jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4985
Diffstat (limited to '')
-rw-r--r--src/Makefile_Edje.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
index b982d1a..4ca20e5 100644
--- a/src/Makefile_Edje.am
+++ b/src/Makefile_Edje.am
@@ -286,6 +286,7 @@ tests/edje/data/test_table.edc \
286tests/edje/data/test_combine_keywords.edc \ 286tests/edje/data/test_combine_keywords.edc \
287tests/edje/data/test_messages.edc \ 287tests/edje/data/test_messages.edc \
288tests/edje/data/test_signals.edc \ 288tests/edje/data/test_signals.edc \
289tests/edje/data/test_signal_callback_del_full.edc \
289tests/edje/data/filter.lua 290tests/edje/data/filter.lua
290 291
291 292
@@ -328,6 +329,7 @@ EDJE_TEST_FILES = tests/edje/data/test_layout.edj \
328 tests/edje/data/test_combine_keywords.edj \ 329 tests/edje/data/test_combine_keywords.edj \
329 tests/edje/data/test_messages.edj \ 330 tests/edje/data/test_messages.edj \
330 tests/edje/data/test_signals.edj \ 331 tests/edje/data/test_signals.edj \
332 tests/edje/data/test_signal_callback_del_full.edj \
331 $(NULL) 333 $(NULL)
332 334
333CLEANFILES += $(EDJE_TEST_FILES) 335CLEANFILES += $(EDJE_TEST_FILES)