diff options
author | Jean Guyomarc'h <jean.guyomarch@openwide.fr> | 2015-10-13 18:25:01 +0200 |
---|---|---|
committer | Nicolas Aguirre <aguirre.nicolas@gmail.com> | 2015-11-10 08:32:49 +0100 |
commit | 70ad7994a8728446856b6e86c3e24576e9c9a64d (patch) | |
tree | 7fd7b0a0f9fbab41420b8e55f0e9e02caf9f7e5f | |
parent | 0435ba7c77ba74747de7a0a8e87b8eeb8a273616 (diff) | |
download | efl-70ad7994a8728446856b6e86c3e24576e9c9a64d.tar.gz |
ecore_cocoa: remove ECORE_COCOA_EVENT_EXPOSE
-rw-r--r-- | src/lib/ecore_cocoa/Ecore_Cocoa.h | 1 | ||||
-rw-r--r-- | src/lib/ecore_cocoa/ecore_cocoa.m | 2 | ||||
-rw-r--r-- | src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c | 5 |
3 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/ecore_cocoa/Ecore_Cocoa.h b/src/lib/ecore_cocoa/Ecore_Cocoa.h index 40baa07541..27ae045a38 100644 --- a/src/lib/ecore_cocoa/Ecore_Cocoa.h +++ b/src/lib/ecore_cocoa/Ecore_Cocoa.h @@ -72,7 +72,6 @@ EAPI extern int ECORE_COCOA_EVENT_LOST_FOCUS; /** Event triggered when a window is resized */ EAPI extern int ECORE_COCOA_EVENT_RESIZE; -EAPI extern int ECORE_COCOA_EVENT_EXPOSE; EAPI extern int ECORE_COCOA_EVENT_WINDOW_DESTROY; /** diff --git a/src/lib/ecore_cocoa/ecore_cocoa.m b/src/lib/ecore_cocoa/ecore_cocoa.m index 9592664bea..a06222130b 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa.m +++ b/src/lib/ecore_cocoa/ecore_cocoa.m @@ -18,7 +18,6 @@ EAPI int ECORE_COCOA_EVENT_GOT_FOCUS = 0; EAPI int ECORE_COCOA_EVENT_LOST_FOCUS = 0; EAPI int ECORE_COCOA_EVENT_RESIZE = 0; -EAPI int ECORE_COCOA_EVENT_EXPOSE = 0; EAPI int ECORE_COCOA_EVENT_WINDOW_DESTROY = 0; static int _ecore_cocoa_init_count = 0; @@ -51,7 +50,6 @@ ecore_cocoa_init(void) ECORE_COCOA_EVENT_GOT_FOCUS = ecore_event_type_new(); ECORE_COCOA_EVENT_LOST_FOCUS = ecore_event_type_new(); ECORE_COCOA_EVENT_RESIZE = ecore_event_type_new(); - ECORE_COCOA_EVENT_EXPOSE = ecore_event_type_new(); ECORE_COCOA_EVENT_WINDOW_DESTROY = ecore_event_type_new(); diff --git a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c index 4e6cecfb15..66cecebce5 100644 --- a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c +++ b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c @@ -32,7 +32,7 @@ static int _ecore_evas_init_count = 0; // FIXME: In case we have a lot of windows per app, we should probably use another container // like a rbtree or a dictionnary-based container static Eina_List *ecore_evases = NULL; -static Ecore_Event_Handler *ecore_evas_event_handlers[5] = { 0 }; +static Ecore_Event_Handler *ecore_evas_event_handlers[4]; static const char *_iface_name = "opengl_cocoa"; static const int _iface_version = 1; @@ -301,8 +301,7 @@ _ecore_evas_cocoa_init(void) ecore_evas_event_handlers[0] = ecore_event_handler_add(ECORE_COCOA_EVENT_GOT_FOCUS, _ecore_evas_cocoa_event_got_focus, NULL); ecore_evas_event_handlers[1] = ecore_event_handler_add(ECORE_COCOA_EVENT_LOST_FOCUS, _ecore_evas_cocoa_event_lost_focus, NULL); ecore_evas_event_handlers[2] = ecore_event_handler_add(ECORE_COCOA_EVENT_RESIZE, _ecore_evas_cocoa_event_video_resize, NULL); - ecore_evas_event_handlers[3] = ecore_event_handler_add(ECORE_COCOA_EVENT_EXPOSE, _ecore_evas_cocoa_event_video_expose, NULL); - ecore_evas_event_handlers[4] = ecore_event_handler_add(ECORE_COCOA_EVENT_WINDOW_DESTROY, _ecore_evas_cocoa_event_window_destroy, NULL); + ecore_evas_event_handlers[3] = ecore_event_handler_add(ECORE_COCOA_EVENT_WINDOW_DESTROY, _ecore_evas_cocoa_event_window_destroy, NULL); return _ecore_evas_init_count; } |