diff --git a/ChangeLog b/ChangeLog index 7739347da..7a001e5c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-06-06 Emmanuele Bassi + + Bug #952 - Fix test-textures in trunk + + * tests/test-textures.c: Use USE_GDKPIXBUF instead of + USE_PIXBUF. (#952, Gwenole Beauchesne) + 2008-06-06 Emmanuele Bassi Bug #951 - Fix clutter_entry_init() in trunk diff --git a/tests/test-textures.c b/tests/test-textures.c index bfcf8c1dd..6d213a0d0 100644 --- a/tests/test-textures.c +++ b/tests/test-textures.c @@ -1,6 +1,13 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include + #include -#ifdef USE_PIXBUF +#ifdef USE_GDKPIXBUF + GdkPixbuf* make_pixbuf (int width, int height, int bpp, int has_alpha) { @@ -49,12 +56,12 @@ make_pixbuf (int width, int height, int bpp, int has_alpha) #define SPIN() while (g_main_context_pending (NULL)) \ g_main_context_iteration (NULL, FALSE); -#endif +#endif /* USE_GDKPIXBUF */ int main (int argc, char *argv[]) { -#ifdef USE_PIXBUF +#ifdef USE_GDKPIXBUF ClutterActor *texture; ClutterActor *stage; GdkPixbuf *pixbuf; @@ -107,6 +114,7 @@ main (int argc, char *argv[]) clutter_container_remove (CLUTTER_CONTAINER (stage), texture, NULL); } -#endif - return 0; +#endif /* USE_GDKPIXBUF */ + + return EXIT_SUCCESS; }