Shuffle in the latest Eo memes
This commit is contained in:
parent
77d023dfe1
commit
41c1779e81
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue