[gnome-boxes] Remove a redundant cast



commit cb3065aceb1031296aba1aa2114de09160a8e064
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Oct 5 16:13:47 2011 +0300

    Remove a redundant cast

 src/boxes.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/boxes.vala b/src/boxes.vala
index 4d7e05d..7917f2a 100644
--- a/src/boxes.vala
+++ b/src/boxes.vala
@@ -114,7 +114,7 @@ private class Boxes.App: Boxes.UI {
 
         var actor = new GtkClutter.Actor (); // just to have background
         actor.add_constraint (new Clutter.BindConstraint ((Clutter.Actor) stage, BindCoordinate.SIZE, 0));
-        ((Clutter.Container) stage).add_actor (actor);
+        stage.add_actor (actor);
 
         state = new Clutter.State ();
         state.set_duration (null, null, duration);



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