From 811e68811c65ba51306244afab777a15d2b04cbd Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Sat, 30 Mar 2013 15:40:38 +0100 Subject: [PATCH] Changing remaining clip::track-element-added to container::child-added --- ges/ges-pitivi-formatter.c | 4 ++-- ges/ges-timeline-layer.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ges/ges-pitivi-formatter.c b/ges/ges-pitivi-formatter.c index 50f956a..c7d80a9 100644 --- a/ges/ges-pitivi-formatter.c +++ b/ges/ges-pitivi-formatter.c @@ -888,7 +888,7 @@ make_source (GESFormatter * self, GList * reflist, GHashTable * source_table) if (g_strcmp0 (fac_ref, (gchar *) "effect")) { /* FIXME this is a hack to get a ref to the formatter when receiving - * track-element-added */ + * child-added */ g_hash_table_insert (props_table, (gchar *) "current-formatter", self); if (a_avail && (!video)) { a_avail = FALSE; @@ -919,7 +919,7 @@ make_source (GESFormatter * self, GList * reflist, GHashTable * source_table) set_properties (G_OBJECT (src), props_table); ges_timeline_layer_add_clip (layer, GES_CLIP (src)); - g_signal_connect (src, "track-element-added", + g_signal_connect (src, "child-added", G_CALLBACK (track_element_added_cb), props_table); priv->sources_to_load = g_list_prepend (priv->sources_to_load, src); diff --git a/ges/ges-timeline-layer.c b/ges/ges-timeline-layer.c index ed4a8a4..8a41a1c 100644 --- a/ges/ges-timeline-layer.c +++ b/ges/ges-timeline-layer.c @@ -462,7 +462,7 @@ ges_timeline_layer_is_empty (GESTimelineLayer * layer) * * Calling this method will construct and properly set all the media related * elements on @clip. If you need to know when those objects (actually #GESTrackElement) - * are constructed, you should connect to the clip::track-element-added signal which + * are constructed, you should connect to the container::child-added signal which * is emited right after those elements are ready to be used. * * Returns: TRUE if the clip was properly added to the layer, or FALSE -- 2.7.4