Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_x


Modified Files:
        ecore_x_fixes.c 


Log Message:
Cleanup warnings when building without support for the X fixes extension.

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_x/ecore_x_fixes.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ecore_x_fixes.c     28 Oct 2006 01:28:01 -0000      1.3
+++ ecore_x_fixes.c     11 Dec 2006 06:33:42 -0000      1.4
@@ -6,7 +6,9 @@
 #include "Ecore_X.h"
 
 static int _fixes_available;
+#ifdef ECORE_XFIXES
 static int _fixes_major, _fixes_minor;
+#endif
 
 void
 _ecore_x_fixes_init(void)
@@ -24,6 +26,7 @@
 #endif
 }
 
+#ifdef ECORE_XFIXES
 /* I don't know what to call this function. */
 static XRectangle *
 _ecore_x_rectangle_ecore_to_x(Ecore_X_Rectangle *rects, int num)
@@ -63,6 +66,7 @@
      }
    return rects;
 }
+#endif
 
 EAPI Ecore_X_Region
 ecore_x_region_new(Ecore_X_Rectangle *rects, int num)



-------------------------------------------------------------------------
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