summaryrefslogtreecommitdiff
path: root/src/lib/ecore_cocoa/ecore_cocoa_window.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_cocoa/ecore_cocoa_window.m')
-rw-r--r--src/lib/ecore_cocoa/ecore_cocoa_window.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa_window.m b/src/lib/ecore_cocoa/ecore_cocoa_window.m
index b57df81448..aef18da06e 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa_window.m
+++ b/src/lib/ecore_cocoa/ecore_cocoa_window.m
@@ -56,7 +56,7 @@ static NSCursor *_cursors[__ECORE_COCOA_CURSOR_LAST];
56- (void)windowWillClose:(NSNotification *) notification 56- (void)windowWillClose:(NSNotification *) notification
57{ 57{
58 NSLog(@"window is going to be closed"); 58 NSLog(@"window is going to be closed");
59 Ecore_Cocoa_Event_Window *event; 59 Ecore_Cocoa_Event_Window_Destroy *event;
60 60
61 event = malloc(sizeof(*event)); 61 event = malloc(sizeof(*event));
62 if (EINA_UNLIKELY(event == NULL)) 62 if (EINA_UNLIKELY(event == NULL))
@@ -99,7 +99,7 @@ static NSCursor *_cursors[__ECORE_COCOA_CURSOR_LAST];
99 99
100- (void)windowDidBecomeKey:(NSNotification *)notification 100- (void)windowDidBecomeKey:(NSNotification *)notification
101{ 101{
102 Ecore_Cocoa_Event_Window *e; 102 Ecore_Cocoa_Event_Window_Focused *e;
103 103
104 e = malloc(sizeof(*e)); 104 e = malloc(sizeof(*e));
105 if (EINA_UNLIKELY(e == NULL)) 105 if (EINA_UNLIKELY(e == NULL))
@@ -123,7 +123,7 @@ static NSCursor *_cursors[__ECORE_COCOA_CURSOR_LAST];
123 123
124- (void)windowDidResignKey:(NSNotification *)notification 124- (void)windowDidResignKey:(NSNotification *)notification
125{ 125{
126 Ecore_Cocoa_Event_Window *e; 126 Ecore_Cocoa_Event_Window_Unfocused *e;
127 127
128 e = malloc(sizeof(*e)); 128 e = malloc(sizeof(*e));
129 if (EINA_UNLIKELY(e == NULL)) 129 if (EINA_UNLIKELY(e == NULL))