#include <clutter/clutter.h>
#include <math.h>
-#include <clutter-gtk/gtk-clutter-embed.h>
+#include <clutter-gtk/clutter-gtk.h>
#define TRAILS 0
#define NHANDS 2
#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
}
/* Add the group to the stage */
- clutter_container_add_actor (CLUTTER_CONTAINER (clutter),
+ clutter_container_add_actor (CLUTTER_CONTAINER (stage),
CLUTTER_ACTOR (oh->group));
g_signal_connect (stage, "button-press-event",