ecore_cocoa: improve const-correctness 70/82870/3
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>
Tue, 13 Oct 2015 08:59:13 +0000 (10:59 +0200)
committerHermet Park <chuneon.park@samsung.com>
Fri, 12 Aug 2016 01:39:06 +0000 (18:39 -0700)
Change-Id: Ied46d73d2c831606840f2558f903a82aca4cae1a

src/lib/ecore_cocoa/Ecore_Cocoa.h
src/lib/ecore_cocoa/ecore_cocoa_window.m

index 4341389..84a69a8 100644 (file)
@@ -164,7 +164,7 @@ EAPI void ecore_cocoa_window_view_set(Ecore_Cocoa_Window *window,
 
 EAPI int ecore_cocoa_titlebar_height_get(void);
 
-EAPI Ecore_Cocoa_Window_Id ecore_cocoa_window_get_window_id(Ecore_Cocoa_Window *window);
+EAPI Ecore_Cocoa_Window_Id ecore_cocoa_window_get_window_id(const Ecore_Cocoa_Window *window);
 
 
 EAPI void ecore_cocoa_window_cursor_set(Ecore_Cocoa_Window *win, Ecore_Cocoa_Cursor c);
index de905c5..78c86a2 100644 (file)
@@ -496,7 +496,8 @@ ecore_cocoa_window_view_set(Ecore_Cocoa_Window *window,
   [area release];
 }
 
-Ecore_Cocoa_Window_Id ecore_cocoa_window_get_window_id(Ecore_Cocoa_Window *window)
+EAPI Ecore_Cocoa_Window_Id
+ecore_cocoa_window_get_window_id(const Ecore_Cocoa_Window *window)
 {
   if (!window)
     return 0;