Enlightenment CVS committal

Author  : nerochiaro
Project : e17
Module  : libs/etk

Dir     : e17/libs/etk/src/engines/ecore_fb


Modified Files:
        ecore_fb.c 


Log Message:
Fixed small bug in X-based debug code that prevented building FB engine.

===================================================================
RCS file: /cvs/e/e17/libs/etk/src/engines/ecore_fb/ecore_fb.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- ecore_fb.c  16 Jan 2007 23:49:26 -0000      1.16
+++ ecore_fb.c  19 Jan 2007 00:19:00 -0000      1.17
@@ -9,10 +9,13 @@
 #include "Etk_Engine_Ecore_Fb.h"
 #include "config.h"
 
-/* TODO: Debug */
-#include <Ecore_X.h>
+/* TODO: debug */
 #define USE_X11 0
 
+#if USE_X11
+   #include <Ecore_X.h>
+#endif
+
 #define WM_THEME_FILE   (PACKAGE_DATA_DIR "/wm/default.edj")
 
 typedef Etk_Engine_Ecore_Fb_Window_Data Etk_Engine_Window_Data;
@@ -895,6 +898,7 @@
    return 1;
 }
 
+#if USE_X11
 /* Called when the mouse is moved (X11 debug version) */
 static int _mouse_move_X_handler_cb(void *data, int ev_type, void *ev)
 {
@@ -914,6 +918,7 @@
    
    return 1;
 }
+#endif
 
 /**************************
  *



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to