summaryrefslogtreecommitdiff
path: root/src/lib/ecore_cocoa
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>2015-10-13 10:59:13 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-12-01 12:15:31 -0800
commitd48faf39bf1fe5db7b27d47ef1d4f486d212660f (patch)
tree82aaa065285050cc40e4f28fad35055df7b56a89 /src/lib/ecore_cocoa
parent586c8b45827a68f3f3d4e5210b9b1a2fca95febf (diff)
ecore_cocoa: improve const-correctness
Diffstat (limited to 'src/lib/ecore_cocoa')
-rw-r--r--src/lib/ecore_cocoa/Ecore_Cocoa.h2
-rw-r--r--src/lib/ecore_cocoa/ecore_cocoa_window.m3
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
165EAPI int ecore_cocoa_titlebar_height_get(void); 165EAPI int ecore_cocoa_titlebar_height_get(void);
166 166
167EAPI Ecore_Cocoa_Window_Id ecore_cocoa_window_get_window_id(Ecore_Cocoa_Window *window); 167EAPI Ecore_Cocoa_Window_Id ecore_cocoa_window_get_window_id(const Ecore_Cocoa_Window *window);
168 168
169 169
170EAPI void ecore_cocoa_window_cursor_set(Ecore_Cocoa_Window *win, Ecore_Cocoa_Cursor c); 170EAPI 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
499Ecore_Cocoa_Window_Id ecore_cocoa_window_get_window_id(Ecore_Cocoa_Window *window) 499EAPI Ecore_Cocoa_Window_Id
500ecore_cocoa_window_get_window_id(const Ecore_Cocoa_Window *window)
500{ 501{
501 if (!window) 502 if (!window)
502 return 0; 503 return 0;