From a5ae9e0ec336394e7caed4ebebfc6111300f5080 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 24 Apr 2008 14:59:41 +0000 Subject: [PATCH] 2008-04-24 Emmanuele Bassi * examples/gtk-clutter-test.c (main): Use the utility function for creating a ClutterTexture using a GdkPixbuf. --- ChangeLog | 5 +++++ examples/gtk-clutter-test.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f8292b9..9ea2854 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-24 Emmanuele Bassi + + * examples/gtk-clutter-test.c (main): Use the utility function + for creating a ClutterTexture using a GdkPixbuf. + 2008-04-21 Emmanuele Bassi Bug #876 - GtkClutterEmbed doesn't propagate events back down diff --git a/examples/gtk-clutter-test.c b/examples/gtk-clutter-test.c index 59e606c..937e716 100644 --- a/examples/gtk-clutter-test.c +++ b/examples/gtk-clutter-test.c @@ -3,6 +3,7 @@ #include #include +#include #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 -- 1.7.9.5