2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
authorEmmanuele Bassi <ebassi@openedhand.com>
Thu, 24 Apr 2008 14:59:41 +0000 (14:59 +0000)
committerEmmanuele Bassi <ebassi@openedhand.com>
Thu, 24 Apr 2008 14:59:41 +0000 (14:59 +0000)
* examples/gtk-clutter-test.c (main): Use the utility function
for creating a ClutterTexture using a GdkPixbuf.

ChangeLog
examples/gtk-clutter-test.c

index f8292b9..9ea2854 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-24  Emmanuele Bassi  <ebassi@openedhand.com>
+
+       * examples/gtk-clutter-test.c (main): Use the utility function
+       for creating a ClutterTexture using a GdkPixbuf.
+
 2008-04-21  Emmanuele Bassi  <ebassi@openedhand.com>
 
        Bug #876 - GtkClutterEmbed doesn't propagate events back down
index 59e606c..937e716 100644 (file)
@@ -3,6 +3,7 @@
 #include <math.h>
 
 #include <clutter-gtk/gtk-clutter-embed.h>
+#include <clutter-gtk/gtk-clutter-util.h>
 
 #define TRAILS 0
 #define NHANDS  2
@@ -173,7 +174,7 @@ main (int argc, char *argv[])
 #if 1
       /* Create a texture from pixbuf, then clone in to same resources */
       if (i == 0)
-       oh->hand[i] = clutter_texture_new_from_pixbuf (pixbuf);
+       oh->hand[i] = gtk_clutter_texture_new_from_pixbuf (pixbuf);
      else
        oh->hand[i] = clutter_clone_texture_new (CLUTTER_TEXTURE (oh->hand[0]));
 #else