aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2015-12-09 21:26:29 +0200
committerKai Huuhko <kai.huuhko@gmail.com>2015-12-09 21:26:29 +0200
commit75fa5ff25600005dec7ae002b33b4f9f12171c9c (patch)
tree915076dbe039048e7426b677ddb78a32ef1addb7 /examples
parentprint()-- (diff)
downloadpython-efl-75fa5ff25600005dec7ae002b33b4f9f12171c9c.tar.gz
Elementary.dnd: Fix various leftover issues
Diffstat (limited to 'examples')
-rw-r--r--examples/elementary/test_dnd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/elementary/test_dnd.py b/examples/elementary/test_dnd.py
index 31bdea6..31922ac 100644
--- a/examples/elementary/test_dnd.py
+++ b/examples/elementary/test_dnd.py
@@ -631,7 +631,7 @@ def _drop_but_icon_change_cb(obj, ev, data):
# Callback used to test multi-callbacks feature */
def _drop_but_cb_remove_cb(obj, ev, data):
print("Second callback called - removing it")
- obj.drop_target_del(ELM_SEL_FORMAT_TARGETS, _enter_but_cb, NULL, NULL, NULL, NULL, NULL, _drop_but_cb_remove_cb, NULL)
+ obj.drop_target_del(ELM_SEL_FORMAT_TARGETS, _enter_but_cb, dropcb=_drop_but_cb_remove_cb)
return True
def _drop_bg_change_cb(obj, ev, data):