summaryrefslogtreecommitdiff
path: root/efl/eo/efl.eo.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'efl/eo/efl.eo.pyx')
-rw-r--r--efl/eo/efl.eo.pyx10
1 files changed, 5 insertions, 5 deletions
diff --git a/efl/eo/efl.eo.pyx b/efl/eo/efl.eo.pyx
index aa5bbaf..73e905c 100644
--- a/efl/eo/efl.eo.pyx
+++ b/efl/eo/efl.eo.pyx
@@ -39,12 +39,12 @@ from efl.eina cimport Eina_Bool, \
39from efl.c_eo cimport Eo as cEo, eo_init, eo_shutdown, eo_del, \ 39from efl.c_eo cimport Eo as cEo, eo_init, eo_shutdown, eo_del, \
40 eo_class_name_get, eo_class_get, eo_base_class_get,\ 40 eo_class_name_get, eo_class_get, eo_base_class_get,\
41 eo_key_data_set, eo_key_data_get, eo_key_data_del, \ 41 eo_key_data_set, eo_key_data_get, eo_key_data_del, \
42 eo_event_callback_add, eo_event_callback_del, EO_EV_DEL, \ 42 eo_event_callback_add, eo_event_callback_del, EO_BASE_EVENT_DEL, \
43 eo_parent_get, eo_parent_set, Eo_Event_Description, \ 43 eo_parent_get, eo_parent_set, Eo_Event_Description, \
44 eo_event_freeze, eo_event_thaw, eo_event_freeze_count_get, \ 44 eo_event_freeze, eo_event_thaw, eo_event_freeze_count_get, \
45 eo_event_global_freeze, eo_event_global_thaw, \ 45 eo_event_global_freeze, eo_event_global_thaw, \
46 eo_event_global_freeze_count_get, EO_CALLBACK_STOP, \ 46 eo_event_global_freeze_count_get, EO_CALLBACK_STOP, \
47 eo_children_iterator_new, Eo_Event2 47 eo_children_iterator_new, Eo_Event
48 48
49from efl.utils.logger cimport add_logger 49from efl.utils.logger cimport add_logger
50 50
@@ -182,14 +182,14 @@ cdef void _register_decorated_callbacks(Eo obj):
182###################################################################### 182######################################################################
183 183
184 184
185cdef Eina_Bool _eo_event_del_cb(void *data, const Eo_Event2 *event) with gil: 185cdef Eina_Bool _eo_event_del_cb(void *data, const Eo_Event *event) with gil:
186 cdef: 186 cdef:
187 Eo self = <Eo>data 187 Eo self = <Eo>data
188 const char *cls_name = eo_class_name_get(eo_class_get(self.obj)) 188 const char *cls_name = eo_class_name_get(eo_class_get(self.obj))
189 189
190 EINA_LOG_DOM_DBG(PY_EFL_EO_LOG_DOMAIN, "Deleting Eo: %s", cls_name) 190 EINA_LOG_DOM_DBG(PY_EFL_EO_LOG_DOMAIN, "Deleting Eo: %s", cls_name)
191 191
192 eo_event_callback_del(self.obj, EO_EV_DEL, _eo_event_del_cb, <const void *>self) 192 eo_event_callback_del(self.obj, EO_BASE_EVENT_DEL, _eo_event_del_cb, <const void *>self)
193 eo_key_data_del(self.obj, "python-eo") 193 eo_key_data_del(self.obj, "python-eo")
194 self.obj = NULL 194 self.obj = NULL
195 Py_DECREF(self) 195 Py_DECREF(self)
@@ -253,7 +253,7 @@ cdef class Eo(object):
253 253
254 self.obj = obj 254 self.obj = obj
255 eo_key_data_set(self.obj, "python-eo", <void *>self) 255 eo_key_data_set(self.obj, "python-eo", <void *>self)
256 eo_event_callback_add(self.obj, EO_EV_DEL, _eo_event_del_cb, <const void *>self) 256 eo_event_callback_add(self.obj, EO_BASE_EVENT_DEL, _eo_event_del_cb, <const void *>self)
257 Py_INCREF(self) 257 Py_INCREF(self)
258 258
259 return 1 259 return 1