TimelineObject: add a property to count the number of effects applied on it
authorThibault Saunier <thibault.saunier@collabora.co.uk>
Mon, 31 Jan 2011 10:10:35 +0000 (11:10 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 6 May 2011 08:39:00 +0000 (10:39 +0200)
ges/ges-timeline-object.c

index e6fa020..f8a2ad9 100644 (file)
@@ -93,6 +93,8 @@ struct _GESTimelineObjectPrivate
   gboolean ignore_notifies;
 
   GList *mappings;
+
+  guint nb_effects;
 };
 
 enum
@@ -255,6 +257,7 @@ ges_timeline_object_init (GESTimelineObject * self)
   self->height = 1;
   self->priv->trackobjects = NULL;
   self->priv->layer = NULL;
+  self->priv->nb_effects = 0;
 }
 
 /**