Evas: Do not call xxx_callback_del if obj is NULL

@fix
This commit is contained in:
Davide Andreoli 2016-10-22 11:43:25 +02:00
parent 924f291660
commit 01220931fc
1 changed files with 1 additions and 1 deletions

View File

@ -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