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

SVN revision: 27415
This commit is contained in:
ningerso 2006-12-11 06:33:42 +00:00 committed by ningerso
parent 3e337b0754
commit 45931feb9e
1 changed files with 4 additions and 0 deletions

View File

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