GESSimpleTimelineLayer: _nth() returns a const

The refcount isn't incremented.
This commit is contained in:
Edward Hervey 2010-12-15 19:18:16 +01:00
parent ed6b2ce4c4
commit 7ef6f365d9
3 changed files with 3 additions and 3 deletions

View file

@ -362,7 +362,7 @@ ges_simple_timeline_layer_add_object (GESSimpleTimelineLayer * layer,
* the position is off the end of the layer.
*/
GESTimelineObject *
const GESTimelineObject *
ges_simple_timeline_layer_nth (GESSimpleTimelineLayer * layer, gint position)
{
GList *list;

View file

@ -87,7 +87,7 @@ ges_simple_timeline_layer_move_object (GESSimpleTimelineLayer *layer,
gboolean
ges_simple_timeline_layer_is_valid (GESSimpleTimelineLayer *layer);
GESTimelineObject *
const GESTimelineObject *
ges_simple_timeline_layer_nth (GESSimpleTimelineLayer *layer,
gint position);

View file

@ -66,7 +66,7 @@ GST_START_TEST (test_gsl_add)
GESTimelineLayer *layer;
GESTrack *track;
GESCustomTimelineSource *source;
GESTimelineObject *source2;
const GESTimelineObject *source2;
ges_init ();
/* This is the simplest scenario ever */