GESSimpleTimelineLayer: reverting const-ification
authorEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 16 Dec 2010 18:36:15 +0000 (19:36 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 16 Dec 2010 18:37:06 +0000 (19:37 +0100)
ges/ges-simple-timeline-layer.c
ges/ges-simple-timeline-layer.h

index 97814e6..23a1520 100644 (file)
@@ -358,11 +358,11 @@ ges_simple_timeline_layer_add_object (GESSimpleTimelineLayer * layer,
  *
  * Gets the timeline object at the given position.
  *
- * Returns: The #GESTimelineObject at the given position or NULL if
+ * Returns: (transfer none): The #GESTimelineObject at the given position or NULL if
  * the position is off the end of the layer.
  */
 
-const GESTimelineObject *
+GESTimelineObject *
 ges_simple_timeline_layer_nth (GESSimpleTimelineLayer * layer, gint position)
 {
   GList *list;
index 1553747..c1a9c32 100644 (file)
@@ -87,7 +87,7 @@ ges_simple_timeline_layer_move_object (GESSimpleTimelineLayer *layer,
 gboolean
 ges_simple_timeline_layer_is_valid (GESSimpleTimelineLayer *layer);
 
-const GESTimelineObject *
+GESTimelineObject *
 ges_simple_timeline_layer_nth (GESSimpleTimelineLayer *layer,
                               gint position);