davemds pushed a commit to branch python-efl-1.12.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=b3f6da16f282f50de589734dfb9bf744d2427e76

commit b3f6da16f282f50de589734dfb9bf744d2427e76
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Wed Dec 3 21:11:39 2014 +0100

    Fix elm.ObjectItem.part_content_set() to accept a generic EvasObject.
    
    ...not only an elm object.
---
 efl/elementary/object_item.pyx | 4 ++--
 1 file 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):
     def widget_get(self):
         return object_from_instance(elm_object_item_widget_get(self.item))
 
-    def part_content_set(self, part, Object content not None):
+    def part_content_set(self, part, evasObject content not None):
         """Set a content of an object item
 
         This sets a new object to an item as a content object. If any object
@@ -241,7 +241,7 @@ cdef class ObjectItem(object):
         def __del__(self):
             elm_object_item_content_unset(self.item)
 
-    def content_set(self, Object content not None):
+    def content_set(self, evasObject content not None):
         elm_object_item_content_set(self.item, content.obj)
     def content_get(self):
         return object_from_instance(elm_object_item_content_get(self.item))

-- 


Reply via email to