Shuffle in the latest Eo memes

This commit is contained in:
Kai Huuhko 2016-03-19 01:08:33 +02:00
parent 77d023dfe1
commit 41c1779e81
2 changed files with 2 additions and 3 deletions

View File

@ -26,8 +26,7 @@ cdef class Systray(Eo):
"""
def __init__(self, Eo parent not None, *args, **kwargs):
cdef cEo *obj
eo_add(&obj, elm_systray_class_get(), parent.obj)
cdef cEo *obj = eo_add(elm_systray_class_get(), parent.obj)
self._set_obj(obj)
self._set_properties_from_keyword_args(kwargs)

View File

@ -100,7 +100,7 @@ cdef extern from "Eo.h":
int eo_init()
int eo_shutdown()
void eo_add(Eo **objp, const Eo_Class *klass, Eo *parent, ...)
Eo *eo_add(const Eo_Class *klass, Eo *parent, ...)
Eo *eo_ref(const Eo *obj)
void eo_unref(const Eo *obj)
int eo_ref_get(const Eo *obj)