ecore: fix ecore build when ecore_cocoa is not build !
authorcaptainigloo <captainigloo@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 2 Nov 2011 19:44:36 +0000 (19:44 +0000)
committercaptainigloo <captainigloo@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 2 Nov 2011 19:44:36 +0000 (19:44 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@64658 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_evas/ecore_evas_cocoa.c

index af56879..ab4021d 100644 (file)
@@ -9,9 +9,8 @@
 
 #ifdef BUILD_ECORE_EVAS_OPENGL_COCOA
 #include <Ecore_Cocoa.h>
-#endif
-
 #include <Evas_Engine_Gl_Cocoa.h>
+#endif
 
 #include "ecore_evas_private.h"
 #include "Ecore_Evas.h"
@@ -562,7 +561,7 @@ ecore_evas_cocoa_new(Ecore_Cocoa_Window *parent, int x, int y, int w, int h)
   
   return NULL;
 #else
-  ERR("OUTCH name='%s' size=%dx%d!", name ? name : "", w, h);
+  ERR("OUTCH size=%dx%d!", w, h);
   return NULL;
 #endif
 }