diff options
author | Matthew Waters <ystreet00@gmail.com> | 2014-05-07 20:12:23 +1000 |
---|---|---|
committer | Matthew Waters <ystreet00@gmail.com> | 2014-05-07 20:13:00 +1000 |
commit | 2651272f4e8950df56791737bb027b2d4fca364c (patch) | |
tree | 4e6638cb065cc8620366e7c3afb1aab71e44006a /tests/examples/gl | |
parent | ee95595af0df233efa184a1b84b07a421b6662be (diff) |
gl/examples: fix compilation for clutter examples
ClutterX11TexturePixmap is deprecated in Clutter 1.6 and we ask for
at least 1.8
Diffstat (limited to 'tests/examples/gl')
-rw-r--r-- | tests/examples/gl/clutter/clutteractor.c | 2 | ||||
-rw-r--r-- | tests/examples/gl/clutter/clutteractortee.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/examples/gl/clutter/clutteractor.c b/tests/examples/gl/clutter/clutteractor.c index 44c97ba7c..1fcae0e05 100644 --- a/tests/examples/gl/clutter/clutteractor.c +++ b/tests/examples/gl/clutter/clutteractor.c @@ -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); diff --git a/tests/examples/gl/clutter/clutteractortee.c b/tests/examples/gl/clutter/clutteractortee.c index a46f32383..73f7a60ab 100644 --- a/tests/examples/gl/clutter/clutteractortee.c +++ b/tests/examples/gl/clutter/clutteractortee.c @@ -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); |