aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2016-10-22 11:43:25 +0200
committerDave Andreoli <dave@gurumeditation.it>2016-10-22 11:43:25 +0200
commit01220931fc2a47eb1571a1b0b09bd054a8af282a (patch)
tree823e4ed946180e94341c332510cc61cb68393cf2
parentTest External: more readable indentation (diff)
downloadpython-efl-01220931fc2a47eb1571a1b0b09bd054a8af282a.tar.gz
Evas: Do not call xxx_callback_del if obj is NULL
@fix
-rw-r--r--efl/evas/efl.evas_object.pxi2
1 files changed, 1 insertions, 1 deletions
diff --git a/efl/evas/efl.evas_object.pxi b/efl/evas/efl.evas_object.pxi
index 0462b88..d149033 100644
--- a/efl/evas/efl.evas_object.pxi
+++ b/efl/evas/efl.evas_object.pxi
@@ -36,7 +36,7 @@ cdef int _object_unregister_callbacks(Object obj) except 0:
cb = evas_object_event_callbacks[i]
evas_object_event_callback_del(o, i, cb)
- evas_object_event_callback_del(o, EVAS_CALLBACK_FREE, obj_free_cb)
+ evas_object_event_callback_del(o, EVAS_CALLBACK_FREE, obj_free_cb)
return 1