diff options
Diffstat (limited to 'src/lib/ecore_cocoa/ecore_cocoa.m')
-rw-r--r-- | src/lib/ecore_cocoa/ecore_cocoa.m | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa.m b/src/lib/ecore_cocoa/ecore_cocoa.m index 1c9c20f358..05de6f4bc5 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa.m +++ b/src/lib/ecore_cocoa/ecore_cocoa.m | |||
@@ -387,3 +387,10 @@ ecore_cocoa_titlebar_height_get(void) | |||
387 | } | 387 | } |
388 | return height; | 388 | return height; |
389 | } | 389 | } |
390 | |||
391 | EAPI void | ||
392 | ecore_cocoa_terminate_cb_set(Ecore_Cocoa_Terminate_Cb cb) | ||
393 | { | ||
394 | EINA_SAFETY_ON_NULL_RETURN(cb); | ||
395 | [NSApp setTerminateCb: cb]; | ||
396 | } | ||