diff --git a/clutter/glx/clutter-glx-texture-pixmap.c b/clutter/glx/clutter-glx-texture-pixmap.c index 8d0084cca..33fb894dc 100644 --- a/clutter/glx/clutter-glx-texture-pixmap.c +++ b/clutter/glx/clutter-glx-texture-pixmap.c @@ -45,8 +45,6 @@ #include "config.h" -#include "clutter-glx-texture-pixmap.h" - #include #include @@ -55,6 +53,8 @@ #include +#include "clutter-glx-texture-pixmap.h" + G_DEFINE_TYPE (ClutterGLXTexturePixmap, \ clutter_glx_texture_pixmap, \ CLUTTER_X11_TYPE_TEXTURE_PIXMAP); diff --git a/clutter/glx/clutter-glx-texture-pixmap.h b/clutter/glx/clutter-glx-texture-pixmap.h index c99ffae19..b5a206636 100644 --- a/clutter/glx/clutter-glx-texture-pixmap.h +++ b/clutter/glx/clutter-glx-texture-pixmap.h @@ -28,7 +28,7 @@ #include -#if !defined(CLUTTER_COMPILATION) || defined(CLUTTER_DISABLE_DEPRECATED) +#if !defined(CLUTTER_DISABLE_COMPILATION) || defined(CLUTTER_COMPILATION) G_BEGIN_DECLS @@ -87,6 +87,6 @@ gboolean clutter_glx_texture_pixmap_using_extension (ClutterGLXTexturePixm G_END_DECLS -#endif /* !CLUTTER_DISABLE_DEPRECATED || CLUTTER_COMPILATION */ +#endif /* !CLUTTER_DISABLE_DEPRECATED || !CLUTTER_COMPILATION */ #endif /* __CLUTTER_GLX_TEXTURE_PIXMAP_H__ */