From 45931feb9e54177b6ae253d1c1e206d2cba37d71 Mon Sep 17 00:00:00 2001 From: ningerso Date: Mon, 11 Dec 2006 06:33:42 +0000 Subject: [PATCH] Cleanup warnings when building without support for the X fixes extension. SVN revision: 27415 --- legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c b/legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c index 4a61092a8f..d4645a7400 100644 --- a/legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c +++ b/legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c @@ -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 @@ _ecore_x_fixes_init(void) #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 @@ _ecore_x_rectangle_x_to_ecore(XRectangle *xrect, int num) } return rects; } +#endif EAPI Ecore_X_Region ecore_x_region_new(Ecore_X_Rectangle *rects, int num)