[stage-x11] Fix a warning due to a missing cast
authorChris Lord <chris@linux.intel.com>
Tue, 16 Feb 2010 18:25:46 +0000 (18:25 +0000)
committerChris Lord <chris@linux.intel.com>
Tue, 16 Feb 2010 18:25:46 +0000 (18:25 +0000)
I stupidly forgot to cast a ClutterStage to a ClutterActor and somehow
missed or didn't get the compiler warning. Fix.

clutter/x11/clutter-stage-x11.c

index 1c9f536..dceb335 100644 (file)
@@ -208,7 +208,7 @@ clutter_stage_x11_resize (ClutterStageWindow *stage_window,
        */
       stage_x11->xwin_width = width;
       stage_x11->xwin_height = height;
-      clutter_actor_queue_relayout (stage_x11->wrapper);
+      clutter_actor_queue_relayout (CLUTTER_ACTOR (stage_x11->wrapper));
       return;
     }