[clutter-gtk] examples: Remove unused variables



commit a3bba073b3347df27bf470bcbc3421ca0387aefe
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Aug 21 16:05:07 2014 +0100

    examples: Remove unused variables
    
    Silences the compiler warning.

 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));
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]