timeline-object: Implement the GESMetadataContainer interface
authorThibault Saunier <thibault.saunier@collabora.com>
Tue, 20 Nov 2012 03:29:23 +0000 (00:29 -0300)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 19 Dec 2012 21:59:49 +0000 (18:59 -0300)
ges/ges-timeline-object.c

index 5122038..5b35416 100644 (file)
@@ -79,11 +79,14 @@ static GESTimelineObject *ges_timeline_object_copy (GESTimelineObject * object,
     gboolean * deep);
 
 static void ges_extractable_interface_init (GESExtractableInterface * iface);
+static void ges_meta_container_interface_init (GESMetaContainerInterface *
+    iface);
 
 G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GESTimelineObject, ges_timeline_object,
     G_TYPE_INITIALLY_UNOWNED,
-    G_IMPLEMENT_INTERFACE (GES_TYPE_EXTRACTABLE,
-        ges_extractable_interface_init));
+    G_IMPLEMENT_INTERFACE (GES_TYPE_EXTRACTABLE, ges_extractable_interface_init)
+    G_IMPLEMENT_INTERFACE (GES_TYPE_META_CONTAINER,
+        ges_meta_container_interface_init));
 
 /* Mapping of relationship between a TimelineObject and the TrackObjects
  * it controls
@@ -442,6 +445,11 @@ ges_extractable_interface_init (GESExtractableInterface * iface)
   iface->register_metas = _register_metas;
 }
 
+static void
+ges_meta_container_interface_init (GESMetaContainerInterface * iface)
+{
+}
+
 /**
  * ges_timeline_object_create_track_object:
  * @object: The origin #GESTimelineObject