diff options
author | Kai Huuhko <kai.huuhko@gmail.com> | 2015-04-17 20:29:35 +0300 |
---|---|---|
committer | Kai Huuhko <kai.huuhko@gmail.com> | 2015-04-17 20:29:35 +0300 |
commit | d9fa1e89e2429abe5db65070ebc5fc96420b16fc (patch) | |
tree | 8ef3a9dbd8f482246bed5f0e5b0639e50705634f | |
parent | b7040059817027a2b25a2541444fa35a2241a5d3 (diff) |
Elm.Systray: Fix compile warning
-rw-r--r-- | efl/elementary/systray.pyx | 8 |
1 files 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): | |||
190 | eo_do(self.obj, elm_obj_systray_menu_set(value.obj)) | 190 | eo_do(self.obj, elm_obj_systray_menu_set(value.obj)) |
191 | 191 | ||
192 | def __get__(self): | 192 | def __get__(self): |
193 | cdef cEo *value = NULL | 193 | cdef const cEo *value = NULL |
194 | eo_do_ret(self.obj, value, elm_obj_systray_menu_get()) | 194 | eo_do_ret(self.obj, value, elm_obj_systray_menu_get()) |
195 | return object_from_instance(value) | 195 | return object_from_instance(<cEo *>value) |
196 | 196 | ||
197 | def menu_set(self, Eo value): | 197 | def menu_set(self, Eo value): |
198 | eo_do(self.obj, elm_obj_systray_menu_set(value.obj)) | 198 | eo_do(self.obj, elm_obj_systray_menu_set(value.obj)) |
199 | 199 | ||
200 | def menu_get(self): | 200 | def menu_get(self): |
201 | cdef cEo *value = NULL | 201 | cdef const cEo *value = NULL |
202 | eo_do_ret(self.obj, value, elm_obj_systray_menu_get()) | 202 | eo_do_ret(self.obj, value, elm_obj_systray_menu_get()) |
203 | return object_from_instance(value) | 203 | return object_from_instance(<cEo *>value) |
204 | 204 | ||
205 | property att_icon_name: | 205 | property att_icon_name: |
206 | """The name of the attention icon to be used by the Status Notifier Item. | 206 | """The name of the attention icon to be used by the Status Notifier Item. |