summaryrefslogtreecommitdiff
path: root/legacy/elementary/ChangeLog
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2013-06-26 09:35:05 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2013-06-26 14:37:52 +0300
commite49de4c97b907945f2c7dc38920bed68ef966e8c (patch)
tree7f3e58045984c0cf9b07f5d434d0fb1b8278e350 /legacy/elementary/ChangeLog
parent61dd0ba0ba32c0351bf2148f8b68f1a19300fd00 (diff)
Gesture Layer: support multiple callbacks per type/state.
elm_gesture_layer_cb_add/del functions have been added to provide this functionality. elm_gesture_layer_cb_set provided only one callback and so was overriding the callback with the new one. For ABI compatibility, some rules were needed: - when set function is called with NULL, all the callbacks of the state will be removed (old behavior respect) - try to use set or add/del exclusively with a preference to the new APIs. This is because of the first rule and because it will be more correct. - if you remove a callback, only one instance of this callback of this type/state for this gesture will be removed, by comparing func and data. It means that if you register twice the same callback/data, it will be added twice and you will have to remove also twice too.
Diffstat (limited to 'legacy/elementary/ChangeLog')
-rw-r--r--legacy/elementary/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/legacy/elementary/ChangeLog b/legacy/elementary/ChangeLog
index 7f43061ea0..29358d8bae 100644
--- a/legacy/elementary/ChangeLog
+++ b/legacy/elementary/ChangeLog
@@ -1458,3 +1458,8 @@
14582013-06-25 Ryuan Choi (ryuan) 14582013-06-25 Ryuan Choi (ryuan)
1459 1459
1460 * Fix crash of elm_notify when timeout is zero. 1460 * Fix crash of elm_notify when timeout is zero.
1461
14622013-06-26 Daniel Zaoui (JackDanielZ)
1463
1464 * Gesture Layer: add APIs to add/del multiple callbacks for a same
1465 gesture/type/state.