kuuko pushed a commit to branch master. http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=0ce26275feb87a48b86f8400d51cdbcd2d424892
commit 0ce26275feb87a48b86f8400d51cdbcd2d424892 Author: Kai Huuhko <kai.huu...@gmail.com> Date: Tue Apr 15 21:48:45 2014 +0300 Elementary.separator: Corrected type of the property 'horizontal' --- efl/elementary/separator.pxd | 2 +- efl/elementary/separator.pyx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/efl/elementary/separator.pxd b/efl/elementary/separator.pxd index 8d221ba..080a143 100644 --- a/efl/elementary/separator.pxd +++ b/efl/elementary/separator.pxd @@ -2,5 +2,5 @@ from efl.evas cimport Eina_Bool, Evas_Object cdef extern from "Elementary.h": Evas_Object *elm_separator_add(Evas_Object *parent) - void elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool) + void elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) Eina_Bool elm_separator_horizontal_get(const Evas_Object *obj) diff --git a/efl/elementary/separator.pyx b/efl/elementary/separator.pyx index 07c40ea..b7b0f65 100644 --- a/efl/elementary/separator.pyx +++ b/efl/elementary/separator.pyx @@ -51,15 +51,15 @@ cdef class Separator(LayoutClass): """ def __get__(self): - return elm_separator_horizontal_get(self.obj) + return bool(elm_separator_horizontal_get(self.obj)) - def __set__(self, b): + def __set__(self, bint b): elm_separator_horizontal_set(self.obj, b) - def horizontal_set(self, b): + def horizontal_set(self, bint b): elm_separator_horizontal_set(self.obj, b) def horizontal_get(self): - return elm_separator_horizontal_get(self.obj) + return bool(elm_separator_horizontal_get(self.obj)) _object_mapping_register("Elm_Separator", Separator) --