summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>2015-10-14 10:27:05 +0200
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2015-11-10 08:32:49 +0100
commit8f5581c7045ec07026e258b68bebfd19bfbfe99f (patch)
treed2d05d0e8800a7abaf0d90277cba16055a1b5d41
parent20af97726655b6505795ee3f49c17f6e703a41c3 (diff)
ecore_cocoa: report error when [super init] fails
-rw-r--r--src/lib/ecore_cocoa/ecore_cocoa_app.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa_app.m b/src/lib/ecore_cocoa/ecore_cocoa_app.m
index 999055f385..bb74d53e2c 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa_app.m
+++ b/src/lib/ecore_cocoa/ecore_cocoa_app.m
@@ -52,8 +52,8 @@ _ecore_cocoa_run_loop_cb(void *data EINA_UNUSED)
52{ 52{
53 self = [super init]; 53 self = [super init];
54 if (self == nil) { 54 if (self == nil) {
55 // XXX Critical error. Abort right now! Log? 55 CRI("Failed to [super init]");
56 return nil; 56 return nil;
57 } 57 }
58 NSApp = self; // NSApp is used EVERYWHERE! Set it right now! 58 NSApp = self; // NSApp is used EVERYWHERE! Set it right now!
59 return NSApp; 59 return NSApp;