diff options
author | Jean Guyomarc'h <jean.guyomarch@openwide.fr> | 2015-10-15 14:06:13 +0200 |
---|---|---|
committer | Nicolas Aguirre <aguirre.nicolas@gmail.com> | 2015-11-10 08:32:49 +0100 |
commit | 6c296b3d160f757d58a6e4edf9b7109728ea6947 (patch) | |
tree | 85018da6c60e8ed093ebd31c385e4d3e1d86d2c9 | |
parent | 60e2a6cbbb5ca4013eb9a3b2deba054c3b9a681b (diff) | |
download | efl-6c296b3d160f757d58a6e4edf9b7109728ea6947.tar.gz |
ecore_cocoa: don't make ecore_cocoa_feed_events() a public API
-rw-r--r-- | src/lib/ecore_cocoa/Ecore_Cocoa.h | 3 | ||||
-rw-r--r-- | src/lib/ecore_cocoa/ecore_cocoa.m | 4 | ||||
-rw-r--r-- | src/lib/ecore_cocoa/ecore_cocoa_app.m | 2 | ||||
-rw-r--r-- | src/lib/ecore_cocoa/ecore_cocoa_private.h | 3 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/ecore_cocoa/Ecore_Cocoa.h b/src/lib/ecore_cocoa/Ecore_Cocoa.h index 106b34788a..2a20050c70 100644 --- a/src/lib/ecore_cocoa/Ecore_Cocoa.h +++ b/src/lib/ecore_cocoa/Ecore_Cocoa.h @@ -129,9 +129,6 @@ EAPI int ecore_cocoa_init(void); */ EAPI int ecore_cocoa_shutdown(void); -// XXX Why is this public? -EAPI Eina_Bool ecore_cocoa_feed_events(void *anEvent); - /*============================================================================* * Screen * diff --git a/src/lib/ecore_cocoa/ecore_cocoa.m b/src/lib/ecore_cocoa/ecore_cocoa.m index 89afc8a421..65960f2782 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa.m +++ b/src/lib/ecore_cocoa/ecore_cocoa.m @@ -172,8 +172,8 @@ _ecore_cocoa_event_key(NSEvent *event, return ev; } -EAPI Eina_Bool -ecore_cocoa_feed_events(void *anEvent) +Eina_Bool +_ecore_cocoa_feed_events(void *anEvent) { EINA_SAFETY_ON_NULL_RETURN_VAL(anEvent, EINA_FALSE); diff --git a/src/lib/ecore_cocoa/ecore_cocoa_app.m b/src/lib/ecore_cocoa/ecore_cocoa_app.m index 648bf872af..b3bf1af5f4 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa_app.m +++ b/src/lib/ecore_cocoa/ecore_cocoa_app.m @@ -90,7 +90,7 @@ _ecore_cocoa_run_loop_cb(void *data EINA_UNUSED) /* Some events shall be handled by Ecore (like single non-command keys). * If we dispatch all events right to NSApplication, it will complain * with NSBeep() when an event is not authorized */ - to_super = ecore_cocoa_feed_events(anEvent); + to_super = _ecore_cocoa_feed_events(anEvent); if (to_super) [super sendEvent:anEvent]; } diff --git a/src/lib/ecore_cocoa/ecore_cocoa_private.h b/src/lib/ecore_cocoa/ecore_cocoa_private.h index 9952278cea..535e08a7ed 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa_private.h +++ b/src/lib/ecore_cocoa/ecore_cocoa_private.h @@ -65,5 +65,8 @@ struct _Ecore_Cocoa_Window /* Internal init */ Eina_Bool _ecore_cocoa_window_init(void); +Eina_Bool _ecore_cocoa_feed_events(void *anEvent); + + #endif |