[glide] Do not try and print the GlideManipulator



commit ef67f1e28dd657436a85a08b8705686fa03f59fe
Author: Robert Carr <racarr Valentine localdomain>
Date:   Fri May 7 13:31:24 2010 -0400

    Do not try and print the GlideManipulator

 libglide/glide-slide.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libglide/glide-slide.c b/libglide/glide-slide.c
index de9bb1d..059f2fa 100644
--- a/libglide/glide-slide.c
+++ b/libglide/glide-slide.c
@@ -557,8 +557,11 @@ glide_slide_print (GlideActor *a,
   for (t = clutter_container_get_children (CLUTTER_CONTAINER (s->priv->contents_group));
        t; t = t->next)
     {
-      GlideActor *actor = (GlideActor *)t->data;
-      glide_actor_print (actor, cr);
+      ClutterActor *actor = (ClutterActor *)t->data;
+      
+      // Could be the manipulator. BUG: Should that be a #GlideActor?
+      if (GLIDE_IS_ACTOR (actor))
+	glide_actor_print (actor, cr);
     }
 }
 



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