From: Thibault Saunier Date: Fri, 6 May 2016 18:18:50 +0000 (-0300) Subject: ges: Remove timeline_emit_group_removed which slipped in the API by mistake X-Git-Tag: 1.19.3~493^2~1014 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8718b01595766b6944e94477d1c610233c558fe7;p=platform%2Fupstream%2Fgstreamer.git ges: Remove timeline_emit_group_removed which slipped in the API by mistake This is formally an API break but I am sure no one ever used that and we should make sure the method is removed as soon as possible because it has no reason to be exposed. --- diff --git a/ges/ges-group.c b/ges/ges-group.c index 8219cb8..61bbc49 100644 --- a/ges/ges-group.c +++ b/ges/ges-group.c @@ -573,8 +573,7 @@ _ungroup (GESContainer * group, gboolean recursive) } if (timeline) - ges_timeline_emit_group_removed (timeline, (GESGroup *) group, - children_array); + timeline_emit_group_removed (timeline, (GESGroup *) group, children_array); g_ptr_array_free (children_array, TRUE); g_list_free_full (children, gst_object_unref); diff --git a/ges/ges-internal.h b/ges/ges-internal.h index d8c4966..d359cac 100644 --- a/ges/ges-internal.h +++ b/ges/ges-internal.h @@ -121,6 +121,9 @@ timeline_fill_gaps (GESTimeline *timeline); G_GNUC_INTERNAL GList * timeline_get_groups (GESTimeline * timeline); +G_GNUC_INTERNAL void +timeline_emit_group_removed (GESTimeline * timeline, + GESGroup * group, GPtrArray * array); G_GNUC_INTERNAL void track_resort_and_fill_gaps (GESTrack *track); diff --git a/ges/ges-timeline.c b/ges/ges-timeline.c index ea8441d..a29be15 100644 --- a/ges/ges-timeline.c +++ b/ges/ges-timeline.c @@ -2176,7 +2176,7 @@ timeline_add_group (GESTimeline * timeline, GESGroup * group) * Emit group-removed signal. */ void -ges_timeline_emit_group_removed (GESTimeline * timeline, GESGroup * group, +timeline_emit_group_removed (GESTimeline * timeline, GESGroup * group, GPtrArray * array) { g_signal_emit (timeline, ges_timeline_signals[GROUP_REMOVED], 0, group, diff --git a/ges/ges-timeline.h b/ges/ges-timeline.h index 3b2a16f..5e0b68c 100644 --- a/ges/ges-timeline.h +++ b/ges/ges-timeline.h @@ -131,7 +131,6 @@ GstClockTime ges_timeline_get_snapping_distance (GESTimeline * timeline); void ges_timeline_set_snapping_distance (GESTimeline * timeline, GstClockTime snapping_distance); GESTimelineElement * ges_timeline_get_element (GESTimeline * timeline, const gchar *name); gboolean ges_timeline_is_empty (GESTimeline * timeline); -void ges_timeline_emit_group_removed (GESTimeline * timeline, GESGroup * group, GPtrArray * array); G_END_DECLS