summaryrefslogtreecommitdiff
path: root/efl
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2014-04-15 21:48:45 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2014-04-15 21:48:45 +0300
commit0ce26275feb87a48b86f8400d51cdbcd2d424892 (patch)
tree8be03b72f27a4775ef68aabafeffa02c140b7ebd /efl
parent451d49d7315f1a2156e3a8ff77d7931eb75137da (diff)
Elementary.separator: Corrected type of the property 'horizontal'
Diffstat (limited to 'efl')
-rw-r--r--efl/elementary/separator.pxd2
-rw-r--r--efl/elementary/separator.pyx8
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
2 2
3cdef extern from "Elementary.h": 3cdef extern from "Elementary.h":
4 Evas_Object *elm_separator_add(Evas_Object *parent) 4 Evas_Object *elm_separator_add(Evas_Object *parent)
5 void elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool) 5 void elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
6 Eina_Bool elm_separator_horizontal_get(const Evas_Object *obj) 6 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):
51 51
52 """ 52 """
53 def __get__(self): 53 def __get__(self):
54 return elm_separator_horizontal_get(self.obj) 54 return bool(elm_separator_horizontal_get(self.obj))
55 55
56 def __set__(self, b): 56 def __set__(self, bint b):
57 elm_separator_horizontal_set(self.obj, b) 57 elm_separator_horizontal_set(self.obj, b)
58 58
59 def horizontal_set(self, b): 59 def horizontal_set(self, bint b):
60 elm_separator_horizontal_set(self.obj, b) 60 elm_separator_horizontal_set(self.obj, b)
61 def horizontal_get(self): 61 def horizontal_get(self):
62 return elm_separator_horizontal_get(self.obj) 62 return bool(elm_separator_horizontal_get(self.obj))
63 63
64 64
65_object_mapping_register("Elm_Separator", Separator) 65_object_mapping_register("Elm_Separator", Separator)