ecore_cocoa: don't make ecore_cocoa_feed_events() a public API 02/82902/3
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>
Thu, 15 Oct 2015 12:06:13 +0000 (14:06 +0200)
committerHermet Park <chuneon.park@samsung.com>
Fri, 2 Sep 2016 03:02:56 +0000 (20:02 -0700)
Change-Id: Ia1403f5cc1535274e5c62359b3a99f147d41608b
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/ecore_cocoa/Ecore_Cocoa.h
src/lib/ecore_cocoa/ecore_cocoa.m
src/lib/ecore_cocoa/ecore_cocoa_app.m
src/lib/ecore_cocoa/ecore_cocoa_private.h

index 106b347..2a20050 100644 (file)
@@ -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                                   *
index 03e1488..968a802 100644 (file)
@@ -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);
 
index 648bf87..b3bf1af 100644 (file)
@@ -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];
 }
index 9952278..535e08a 100644 (file)
@@ -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