summaryrefslogtreecommitdiff
path: root/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
commitc5ef1cbf87bfcf7eec26b12a480cc3efb79bdc2e (patch)
tree5dcc8b2cec5cb44de188acf2f9b97708a056d2f0 /ChangeLog
parent9754dd3dff33979302753c94618c0ab532ec2101 (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 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f43061ea..29358d8ba 100644
--- a/ChangeLog
+++ b/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.