Follow recent Eo changes
This commit is contained in:
parent
41c1779e81
commit
aba5250634
|
@ -38,7 +38,7 @@ from efl.eina cimport Eina_Bool, \
|
|||
Eina_Iterator, eina_iterator_next, eina_iterator_free
|
||||
from efl.c_eo cimport Eo as cEo, eo_init, eo_shutdown, eo_del, \
|
||||
eo_class_name_get, eo_class_get, eo_base_class_get,\
|
||||
eo_key_data_set, eo_key_data_get, eo_key_data_del, \
|
||||
eo_key_data_set, eo_key_data_get, eo_key_del, \
|
||||
eo_event_callback_add, eo_event_callback_del, EO_BASE_EVENT_DEL, \
|
||||
eo_parent_get, eo_parent_set, Eo_Event_Description, \
|
||||
eo_event_freeze, eo_event_thaw, eo_event_freeze_count_get, \
|
||||
|
@ -190,7 +190,7 @@ cdef Eina_Bool _eo_event_del_cb(void *data, const Eo_Event *event) with gil:
|
|||
EINA_LOG_DOM_DBG(PY_EFL_EO_LOG_DOMAIN, "Deleting Eo: %s", cls_name)
|
||||
|
||||
eo_event_callback_del(self.obj, EO_BASE_EVENT_DEL, _eo_event_del_cb, <const void *>self)
|
||||
eo_key_data_del(self.obj, "python-eo")
|
||||
eo_key_del(self.obj, "python-eo")
|
||||
self.obj = NULL
|
||||
Py_DECREF(self)
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from efl.utils.conversions cimport eina_list_objects_to_python_list
|
||||
from efl.c_eo cimport eo_key_data_del, eo_key_data_set, eo_key_data_get
|
||||
from efl.c_eo cimport eo_key_data_set, eo_key_data_get
|
||||
from efl.eo cimport Eo, EoIterator
|
||||
|
||||
from cpython cimport Py_INCREF, Py_DECREF, PyObject_Call, \
|
||||
|
|
|
@ -112,7 +112,7 @@ cdef extern from "Eo.h":
|
|||
|
||||
void eo_key_data_set(Eo *obj, const char *key, const void *data)
|
||||
void *eo_key_data_get(Eo *obj, const char *key)
|
||||
void eo_key_data_del(Eo *obj, const char *key)
|
||||
void eo_key_del(Eo *obj, const char *key)
|
||||
|
||||
const Eo_Class *eo_class_get(const Eo *obj)
|
||||
const char *eo_class_name_get(const Eo_Class *klass)
|
||||
|
|
Loading…
Reference in New Issue