diff options
author | Jean Guyomarc'h <jean.guyomarch@openwide.fr> | 2015-10-13 10:59:13 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-12-01 12:15:31 -0800 |
commit | d48faf39bf1fe5db7b27d47ef1d4f486d212660f (patch) | |
tree | 82aaa065285050cc40e4f28fad35055df7b56a89 /src/lib/ecore_cocoa | |
parent | 586c8b45827a68f3f3d4e5210b9b1a2fca95febf (diff) |
ecore_cocoa: improve const-correctness
Diffstat (limited to 'src/lib/ecore_cocoa')
-rw-r--r-- | src/lib/ecore_cocoa/Ecore_Cocoa.h | 2 | ||||
-rw-r--r-- | src/lib/ecore_cocoa/ecore_cocoa_window.m | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/ecore_cocoa/Ecore_Cocoa.h b/src/lib/ecore_cocoa/Ecore_Cocoa.h index 4341389ce2..84a69a87d2 100644 --- a/src/lib/ecore_cocoa/Ecore_Cocoa.h +++ b/src/lib/ecore_cocoa/Ecore_Cocoa.h | |||
@@ -164,7 +164,7 @@ EAPI void ecore_cocoa_window_view_set(Ecore_Cocoa_Window *window, | |||
164 | 164 | ||
165 | EAPI int ecore_cocoa_titlebar_height_get(void); | 165 | EAPI int ecore_cocoa_titlebar_height_get(void); |
166 | 166 | ||
167 | EAPI Ecore_Cocoa_Window_Id ecore_cocoa_window_get_window_id(Ecore_Cocoa_Window *window); | 167 | EAPI Ecore_Cocoa_Window_Id ecore_cocoa_window_get_window_id(const Ecore_Cocoa_Window *window); |
168 | 168 | ||
169 | 169 | ||
170 | EAPI void ecore_cocoa_window_cursor_set(Ecore_Cocoa_Window *win, Ecore_Cocoa_Cursor c); | 170 | EAPI void ecore_cocoa_window_cursor_set(Ecore_Cocoa_Window *win, Ecore_Cocoa_Cursor c); |
diff --git a/src/lib/ecore_cocoa/ecore_cocoa_window.m b/src/lib/ecore_cocoa/ecore_cocoa_window.m index de905c53ee..78c86a29b3 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa_window.m +++ b/src/lib/ecore_cocoa/ecore_cocoa_window.m | |||
@@ -496,7 +496,8 @@ ecore_cocoa_window_view_set(Ecore_Cocoa_Window *window, | |||
496 | [area release]; | 496 | [area release]; |
497 | } | 497 | } |
498 | 498 | ||
499 | Ecore_Cocoa_Window_Id ecore_cocoa_window_get_window_id(Ecore_Cocoa_Window *window) | 499 | EAPI Ecore_Cocoa_Window_Id |
500 | ecore_cocoa_window_get_window_id(const Ecore_Cocoa_Window *window) | ||
500 | { | 501 | { |
501 | if (!window) | 502 | if (!window) |
502 | return 0; | 503 | return 0; |