aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c
diff options
context:
space:
mode:
authorningerso <ningerso>2006-12-11 06:33:42 +0000
committerningerso <ningerso@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2006-12-11 06:33:42 +0000
commit45931feb9e54177b6ae253d1c1e206d2cba37d71 (patch)
tree99db6cb3935eaa41f9a363eb7511ec4afd6e3e38 /legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c
parentand actually call the engine calls! (diff)
downloadefl-45931feb9e54177b6ae253d1c1e206d2cba37d71.tar.gz
Cleanup warnings when building without support for the X fixes extension.
SVN revision: 27415
Diffstat (limited to 'legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c')
-rw-r--r--legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c4
1 files changed, 4 insertions, 0 deletions
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)