summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2014-12-03 21:11:39 +0100
committerDave Andreoli <dave@gurumeditation.it>2014-12-03 21:13:06 +0100
commitb3f6da16f282f50de589734dfb9bf744d2427e76 (patch)
treec0ceca937059217bf9f0313fe40c2cd30fb96411
parentb6ca4649a64563c56e32ae1b6d4616ee2cac87ee (diff)
Fix elm.ObjectItem.part_content_set() to accept a generic EvasObject.python-efl-1.12
...not only an elm object.
-rw-r--r--efl/elementary/object_item.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/efl/elementary/object_item.pyx b/efl/elementary/object_item.pyx
index 1e81dd6..eeea4d2 100644
--- a/efl/elementary/object_item.pyx
+++ b/efl/elementary/object_item.pyx
@@ -182,7 +182,7 @@ cdef class ObjectItem(object):
182 def widget_get(self): 182 def widget_get(self):
183 return object_from_instance(elm_object_item_widget_get(self.item)) 183 return object_from_instance(elm_object_item_widget_get(self.item))
184 184
185 def part_content_set(self, part, Object content not None): 185 def part_content_set(self, part, evasObject content not None):
186 """Set a content of an object item 186 """Set a content of an object item
187 187
188 This sets a new object to an item as a content object. If any object 188 This sets a new object to an item as a content object. If any object
@@ -241,7 +241,7 @@ cdef class ObjectItem(object):
241 def __del__(self): 241 def __del__(self):
242 elm_object_item_content_unset(self.item) 242 elm_object_item_content_unset(self.item)
243 243
244 def content_set(self, Object content not None): 244 def content_set(self, evasObject content not None):
245 elm_object_item_content_set(self.item, content.obj) 245 elm_object_item_content_set(self.item, content.obj)
246 def content_get(self): 246 def content_get(self):
247 return object_from_instance(elm_object_item_content_get(self.item)) 247 return object_from_instance(elm_object_item_content_get(self.item))