diff options
author | Jean Guyomarc'h <jean.guyomarch@openwide.fr> | 2015-10-15 14:06:13 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-12-01 12:15:32 -0800 |
commit | 2d7870083cb14fc67501bbcaeaf74a5002de979c (patch) | |
tree | 947d558eae3a73626a3a9ecd0bef8c8a55b71f17 | |
parent | 907f14c0037cda21563cc284c26910a455765874 (diff) |
ecore_cocoa: don't make ecore_cocoa_feed_events() a public API
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-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); | |||
129 | */ | 129 | */ |
130 | EAPI int ecore_cocoa_shutdown(void); | 130 | EAPI int ecore_cocoa_shutdown(void); |
131 | 131 | ||
132 | // XXX Why is this public? | ||
133 | EAPI Eina_Bool ecore_cocoa_feed_events(void *anEvent); | ||
134 | |||
135 | 132 | ||
136 | /*============================================================================* | 133 | /*============================================================================* |
137 | * Screen * | 134 | * 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, | |||
172 | return ev; | 172 | return ev; |
173 | } | 173 | } |
174 | 174 | ||
175 | EAPI Eina_Bool | 175 | Eina_Bool |
176 | ecore_cocoa_feed_events(void *anEvent) | 176 | _ecore_cocoa_feed_events(void *anEvent) |
177 | { | 177 | { |
178 | EINA_SAFETY_ON_NULL_RETURN_VAL(anEvent, EINA_FALSE); | 178 | EINA_SAFETY_ON_NULL_RETURN_VAL(anEvent, EINA_FALSE); |
179 | 179 | ||
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) | |||
90 | /* Some events shall be handled by Ecore (like single non-command keys). | 90 | /* Some events shall be handled by Ecore (like single non-command keys). |
91 | * If we dispatch all events right to NSApplication, it will complain | 91 | * If we dispatch all events right to NSApplication, it will complain |
92 | * with NSBeep() when an event is not authorized */ | 92 | * with NSBeep() when an event is not authorized */ |
93 | to_super = ecore_cocoa_feed_events(anEvent); | 93 | to_super = _ecore_cocoa_feed_events(anEvent); |
94 | if (to_super) | 94 | if (to_super) |
95 | [super sendEvent:anEvent]; | 95 | [super sendEvent:anEvent]; |
96 | } | 96 | } |
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 | |||
65 | /* Internal init */ | 65 | /* Internal init */ |
66 | Eina_Bool _ecore_cocoa_window_init(void); | 66 | Eina_Bool _ecore_cocoa_window_init(void); |
67 | 67 | ||
68 | Eina_Bool _ecore_cocoa_feed_events(void *anEvent); | ||
69 | |||
70 | |||
68 | 71 | ||
69 | #endif | 72 | #endif |