mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
ges/ges-track-transition.{c,h}: api change: pass gint instead of GEnumValue
This commit is contained in:
parent
b3ec2bad19
commit
3caed9bff4
2 changed files with 3 additions and 4 deletions
|
@ -438,11 +438,10 @@ ges_track_transition_init (GESTrackTransition * self)
|
|||
}
|
||||
|
||||
GESTrackTransition *
|
||||
ges_track_transition_new (GEnumValue * type)
|
||||
ges_track_transition_new (gint value)
|
||||
{
|
||||
GESTrackTransition *ret = g_object_new (GES_TYPE_TRACK_TRANSITION, NULL);
|
||||
if (type)
|
||||
ret->vtype = type->value;
|
||||
ret->vtype = value;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -99,7 +99,7 @@ struct _GESTrackTransitionClass {
|
|||
|
||||
GType ges_track_transition_get_type (void);
|
||||
|
||||
GESTrackTransition *ges_track_transition_new (GEnumValue *type);
|
||||
GESTrackTransition *ges_track_transition_new (gint value);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue