gl/examples: fix compilation for clutter examples

ClutterX11TexturePixmap is deprecated in Clutter 1.6 and we ask for
at least 1.8
This commit is contained in:
Matthew Waters 2014-05-07 20:12:23 +10:00
parent ee95595af0
commit 2651272f4e
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ create_actor (GstGLClutterActor * actor)
//ClutterTimeline *timeline;
ClutterAnimation *animation = NULL;
actor->texture = g_object_new (CLUTTER_GLX_TYPE_TEXTURE_PIXMAP,
actor->texture = g_object_new (CLUTTER_X11_TYPE_TEXTURE_PIXMAP,
"window", actor->win, "automatic-updates", TRUE, NULL);
clutter_container_add_actor (CLUTTER_CONTAINER (actor->stage),
actor->texture);

View file

@ -53,7 +53,7 @@ create_actor (GstGLClutterActor * actor)
{
static gint xpos = 0;
static gint ypos = 0;
actor->texture = g_object_new (CLUTTER_GLX_TYPE_TEXTURE_PIXMAP,
actor->texture = g_object_new (CLUTTER_X11_TYPE_TEXTURE_PIXMAP,
"window", actor->win, "automatic-updates", TRUE, NULL);
clutter_container_add_actor (CLUTTER_CONTAINER (actor->stage),
actor->texture);