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.
This commit is contained in:
Thibault Saunier 2016-05-06 15:18:50 -03:00
parent f6b04061c8
commit 8718b01595
4 changed files with 5 additions and 4 deletions

View file

@ -573,8 +573,7 @@ _ungroup (GESContainer * group, gboolean recursive)
} }
if (timeline) if (timeline)
ges_timeline_emit_group_removed (timeline, (GESGroup *) group, timeline_emit_group_removed (timeline, (GESGroup *) group, children_array);
children_array);
g_ptr_array_free (children_array, TRUE); g_ptr_array_free (children_array, TRUE);
g_list_free_full (children, gst_object_unref); g_list_free_full (children, gst_object_unref);

View file

@ -121,6 +121,9 @@ timeline_fill_gaps (GESTimeline *timeline);
G_GNUC_INTERNAL GList * G_GNUC_INTERNAL GList *
timeline_get_groups (GESTimeline * timeline); timeline_get_groups (GESTimeline * timeline);
G_GNUC_INTERNAL void
timeline_emit_group_removed (GESTimeline * timeline,
GESGroup * group, GPtrArray * array);
G_GNUC_INTERNAL G_GNUC_INTERNAL
void void
track_resort_and_fill_gaps (GESTrack *track); track_resort_and_fill_gaps (GESTrack *track);

View file

@ -2176,7 +2176,7 @@ timeline_add_group (GESTimeline * timeline, GESGroup * group)
* Emit group-removed signal. * Emit group-removed signal.
*/ */
void void
ges_timeline_emit_group_removed (GESTimeline * timeline, GESGroup * group, timeline_emit_group_removed (GESTimeline * timeline, GESGroup * group,
GPtrArray * array) GPtrArray * array)
{ {
g_signal_emit (timeline, ges_timeline_signals[GROUP_REMOVED], 0, group, g_signal_emit (timeline, ges_timeline_signals[GROUP_REMOVED], 0, group,

View file

@ -131,7 +131,6 @@ GstClockTime ges_timeline_get_snapping_distance (GESTimeline * timeline);
void ges_timeline_set_snapping_distance (GESTimeline * timeline, GstClockTime snapping_distance); void ges_timeline_set_snapping_distance (GESTimeline * timeline, GstClockTime snapping_distance);
GESTimelineElement * ges_timeline_get_element (GESTimeline * timeline, const gchar *name); GESTimelineElement * ges_timeline_get_element (GESTimeline * timeline, const gchar *name);
gboolean ges_timeline_is_empty (GESTimeline * timeline); gboolean ges_timeline_is_empty (GESTimeline * timeline);
void ges_timeline_emit_group_removed (GESTimeline * timeline, GESGroup * group, GPtrArray * array);
G_END_DECLS G_END_DECLS