summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--efl/eo/efl.eo.pyx2
-rw-r--r--efl/evas/efl.evas_object_smart.pxi2
-rw-r--r--include/efl.c_eo.pxd2
3 files changed, 3 insertions, 3 deletions
diff --git a/efl/eo/efl.eo.pyx b/efl/eo/efl.eo.pyx
index d8cdf70..bd38c2f 100644
--- a/efl/eo/efl.eo.pyx
+++ b/efl/eo/efl.eo.pyx
@@ -259,7 +259,7 @@ cdef class Eo(object):
259 assert obj != NULL, "Cannot set a NULL object" 259 assert obj != NULL, "Cannot set a NULL object"
260 260
261 self.obj = obj 261 self.obj = obj
262 eo_do(self.obj, eo_key_data_set("python-eo", <void *>self, NULL)) 262 eo_do(self.obj, eo_key_data_set("python-eo", <void *>self))
263 eo_do(self.obj, 263 eo_do(self.obj,
264 eo_event_callback_add(EO_EV_DEL, _eo_event_del_cb, <const void *>self)) 264 eo_event_callback_add(EO_EV_DEL, _eo_event_del_cb, <const void *>self))
265 Py_INCREF(self) 265 Py_INCREF(self)
diff --git a/efl/evas/efl.evas_object_smart.pxi b/efl/evas/efl.evas_object_smart.pxi
index c6287c9..e74948c 100644
--- a/efl/evas/efl.evas_object_smart.pxi
+++ b/efl/evas/efl.evas_object_smart.pxi
@@ -704,7 +704,7 @@ cdef class SmartObject(Object):
704 assert obj != NULL, "Cannot set a NULL object" 704 assert obj != NULL, "Cannot set a NULL object"
705 705
706 self.obj = obj 706 self.obj = obj
707 eo_do(self.obj, eo_key_data_set("python-eo", <void *>self, NULL)) 707 eo_do(self.obj, eo_key_data_set("python-eo", <void *>self))
708 evas_object_event_callback_add(obj, EVAS_CALLBACK_FREE, 708 evas_object_event_callback_add(obj, EVAS_CALLBACK_FREE,
709 obj_free_cb, <void *>self) 709 obj_free_cb, <void *>self)
710 Py_INCREF(self) 710 Py_INCREF(self)
diff --git a/include/efl.c_eo.pxd b/include/efl.c_eo.pxd
index bc80e62..11cb094 100644
--- a/include/efl.c_eo.pxd
+++ b/include/efl.c_eo.pxd
@@ -103,7 +103,7 @@ cdef extern from "Eo.h":
103 void *eo_do_ret(Eo *obj, ...) 103 void *eo_do_ret(Eo *obj, ...)
104 const Eo_Class *eo_base_class_get() 104 const Eo_Class *eo_base_class_get()
105 105
106 void eo_key_data_set(const char *key, const void *data, eo_key_data_free_func free_func) 106 void eo_key_data_set(const char *key, const void *data)
107 void *eo_key_data_get(const char *key) 107 void *eo_key_data_get(const char *key)
108 void eo_key_data_del(const char *key) 108 void eo_key_data_del(const char *key)
109 109