diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2014-08-21 16:05:07 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2014-08-21 16:05:07 +0100 |
commit | a3bba073b3347df27bf470bcbc3421ca0387aefe (patch) | |
tree | 31cc0be04389dabb5884a01b5478e91f177c34be | |
parent | 30b130f169fcb3d7020ad9312402017ea9e823c7 (diff) | |
download | clutter-gtk-a3bba073b3347df27bf470bcbc3421ca0387aefe.tar.gz |
examples: Remove unused variables
Silences the compiler warning.
-rw-r--r-- | examples/gtk-clutter-test-actor.c | 4 |
1 files changed, 0 insertions, 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)); } |