davemds pushed a commit to branch master. http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=d141a912e5856dcf30ff2d8a38172b8dcfcfcad3
commit d141a912e5856dcf30ff2d8a38172b8dcfcfcad3 Author: Dave Andreoli <d...@gurumeditation.it> Date: Sat Feb 21 00:19:50 2015 +0100 Fix Photocam.internal_image to actually work This property/get_function was totally wrong :( --- efl/elementary/photocam.pyx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/efl/elementary/photocam.pyx b/efl/elementary/photocam.pyx index 3ae016c..014ebb7 100644 --- a/efl/elementary/photocam.pyx +++ b/efl/elementary/photocam.pyx @@ -115,13 +115,11 @@ Inheritance diagram from cpython cimport PyUnicode_AsUTF8String from libc.stdint cimport uintptr_t -from efl.eo cimport _object_mapping_register +from efl.eo cimport _object_mapping_register, object_from_instance from efl.utils.conversions cimport _ctouni from efl.evas cimport Object as evasObject from object cimport Object -from efl.evas cimport Image as evasImage - from efl.utils.deprecated cimport DEPRECATED from scroller cimport elm_scroller_policy_get, elm_scroller_policy_set, \ elm_scroller_bounce_get, elm_scroller_bounce_set, Elm_Scroller_Policy @@ -382,10 +380,8 @@ cdef class Photocam(Object): """ def __get__(self): - cdef evasImage img = evasImage() cdef Evas_Object *obj = elm_photocam_internal_image_get(self.obj) - img.obj = obj - return img + return object_from_instance(obj) def internal_image_get(self): return self.internal_image --