kuuko pushed a commit to branch master.

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

commit 6532ef85f6ef2118b0fcf59edbf7417ed17aceed
Author: Kai Huuhko <kai.huu...@gmail.com>
Date:   Fri Apr 17 20:29:35 2015 +0300

    Elm.Systray: Fix compile warning
---
 efl/elementary/systray.pyx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/efl/elementary/systray.pyx b/efl/elementary/systray.pyx
index be57906..7368e9e 100644
--- a/efl/elementary/systray.pyx
+++ b/efl/elementary/systray.pyx
@@ -190,17 +190,17 @@ cdef class Systray(Eo):
             eo_do(self.obj, elm_obj_systray_menu_set(value.obj))
 
         def __get__(self):
-            cdef cEo *value = NULL
+            cdef const cEo *value = NULL
             eo_do_ret(self.obj, value, elm_obj_systray_menu_get())
-            return object_from_instance(value)
+            return object_from_instance(<cEo *>value)
 
     def menu_set(self, Eo value):
         eo_do(self.obj, elm_obj_systray_menu_set(value.obj))
 
     def menu_get(self):
-        cdef cEo *value = NULL
+        cdef const cEo *value = NULL
         eo_do_ret(self.obj, value, elm_obj_systray_menu_get())
-        return object_from_instance(value)
+        return object_from_instance(<cEo *>value)
 
     property att_icon_name:
         """The name of the attention icon to be used by the Status Notifier 
Item.

-- 


Reply via email to