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-20 06:27:10 +0300 |
commit | 6532ef85f6ef2118b0fcf59edbf7417ed17aceed (patch) | |
tree | 3ce560d24d17572b2dd54a8e459eb8d5b174f8ff | |
parent | c0e6254c1f93f03d9958a2bf2c5c4c95ff61dc46 (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. |