From a3bba073b3347df27bf470bcbc3421ca0387aefe Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 21 Aug 2014 16:05:07 +0100 Subject: examples: Remove unused variables Silences the compiler warning. --- examples/gtk-clutter-test-actor.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/gtk-clutter-test-actor.c b/examples/gtk-clutter-test-actor.c index f035dbe..acdcf41 100644 --- a/examples/gtk-clutter-test-actor.c +++ b/examples/gtk-clutter-test-actor.c @@ -32,10 +32,6 @@ frame_cb (ClutterTimeline *timeline, for (i = 0; i < nwidgets; i++) { - /* rotate each widget around its center */ - gfloat w = clutter_actor_get_width (widgets[i]); - gfloat h = clutter_actor_get_height (widgets[i]); - clutter_actor_set_rotation_angle (widgets[i], CLUTTER_Z_AXIS, - 2 * rotation); clutter_actor_set_opacity (widgets[i], 50 * sin (2 * M_PI * rotation / 360) + (255 - 50)); } -- cgit v1.2.1