[466/906] tests: Fix variable unused but set compiler warning

This commit is contained in:
Sebastian Dröge 2011-08-03 09:08:01 +02:00 committed by Matthew Waters
parent 4732eb4d68
commit 7e3070fe31

View file

@ -47,15 +47,12 @@ create_actor (GstGLClutterActor * actor)
{
static gint xpos = 0;
static gint ypos = 0;
Display *disp;
actor->texture = g_object_new (CLUTTER_GLX_TYPE_TEXTURE_PIXMAP,
"window", actor->win, "automatic-updates", TRUE, NULL);
clutter_container_add_actor (CLUTTER_CONTAINER (actor->stage),
actor->texture);
clutter_actor_set_position (actor->texture, xpos, ypos);
disp = clutter_x11_get_default_display ();
if (xpos > (COLS - 1) * W) {
xpos = 0;
ypos += H + 1;