diff --git a/ges/ges-track-video-transition.c b/ges/ges-track-video-transition.c index 29fb83c588..2a5970fa62 100644 --- a/ges/ges-track-video-transition.c +++ b/ges/ges-track-video-transition.c @@ -319,7 +319,8 @@ ges_track_video_transition_duration_changed (GESTrackTransition * object, } void -ges_track_video_transition_set_type (GESTrackVideoTransition * self, gint type) +ges_track_video_transition_set_type (GESTrackVideoTransition * self, + GESVideoTransitionType type) { if (((type == GES_VIDEO_TRANSITION_TYPE_CROSSFADE) && (self->type != GES_VIDEO_TRANSITION_TYPE_CROSSFADE)) diff --git a/ges/ges-track-video-transition.h b/ges/ges-track-video-transition.h index 56a0996f86..35c06687e7 100644 --- a/ges/ges-track-video-transition.h +++ b/ges/ges-track-video-transition.h @@ -87,7 +87,7 @@ struct _GESTrackVideoTransitionClass { GType ges_track_video_transition_get_type (void); void -ges_track_video_transition_set_type (GESTrackVideoTransition * self, gint type); +ges_track_video_transition_set_type (GESTrackVideoTransition * self, GESVideoTransitionType type); GESTrackVideoTransition* ges_track_video_transition_new (void);