From 71b9d421b8968ccab245314587aa15bffd78f208 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Thu, 1 May 2014 16:59:15 +0200 Subject: [PATCH] ges-timeline: Fix ges_timeline_get_project macro. This macro was a little confused about its own meaning. --- ges/ges-timeline.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ges/ges-timeline.h b/ges/ges-timeline.h index 709fbf2..80ddea6 100644 --- a/ges/ges-timeline.h +++ b/ges/ges-timeline.h @@ -50,11 +50,11 @@ G_BEGIN_DECLS /** * ges_timeline_get_project: - * @obj: The #GESClip from which to retrieve the project + * @obj: The #GESTimeline from which to retrieve the project * * Helper macro to retrieve the project from which a #GESTimeline as been extracted */ -#define ges_timeline_get_project(obj) (GES_TIMELINE (ges_extractable_get_asset (obj)) +#define ges_timeline_get_project(obj) (GES_PROJECT (ges_extractable_get_asset (GES_EXTRACTABLE(obj)))) typedef struct _GESTimelinePrivate GESTimelinePrivate; -- 2.7.4