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 <ebassi@openedhand.com>
+ 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 <ebassi@openedhand.com>
+
Bug #951 - Fix clutter_entry_init() in trunk
* clutter/clutter-entry.c (clutter_entry_init): Remove a
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <stdlib.h>
+
#include <clutter/clutter.h>
-#ifdef USE_PIXBUF
+#ifdef USE_GDKPIXBUF
+
GdkPixbuf*
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;
clutter_container_remove (CLUTTER_CONTAINER (stage), texture, NULL);
}
-#endif
- return 0;
+#endif /* USE_GDKPIXBUF */
+
+ return EXIT_SUCCESS;
}