mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
remove unneeded _new methods on certain base classes
This commit is contained in:
parent
2090570da7
commit
31ffb87dde
7 changed files with 2 additions and 27 deletions
|
@ -144,7 +144,6 @@ GES_TRACK_TRANSITION_CLASS
|
|||
GES_TRACK_TRANSITION_GET_CLASS
|
||||
GES_TYPE_TRACK_TRANSITION
|
||||
ges_track_transition_get_type
|
||||
ges_track_transition_new
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
|
@ -316,7 +315,6 @@ GES_TYPE_TIMELINE_FILE_SOURCE
|
|||
<TITLE>GESTimelineOverlay</TITLE>
|
||||
GESTimelineOverlay
|
||||
GESTimelineOverlayClass
|
||||
ges_timeline_overlay_new
|
||||
<SUBSECTION Standard>
|
||||
ges_timeline_overlay_get_type
|
||||
GES_IS_TIMELINE_OVERLAY
|
||||
|
|
|
@ -84,9 +84,3 @@ static void
|
|||
ges_timeline_overlay_init (GESTimelineOverlay * self)
|
||||
{
|
||||
}
|
||||
|
||||
GESTimelineOverlay *
|
||||
ges_timeline_overlay_new (void)
|
||||
{
|
||||
return g_object_new (GES_TYPE_TIMELINE_OVERLAY, NULL);
|
||||
}
|
||||
|
|
|
@ -65,8 +65,6 @@ struct _GESTimelineOverlayClass {
|
|||
|
||||
GType ges_timeline_overlay_get_type (void);
|
||||
|
||||
GESTimelineOverlay* ges_timeline_overlay_new (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _GES_TIMELINE_OVERLAY */
|
||||
|
|
|
@ -162,7 +162,8 @@ ges_tl_transition_create_track_object (GESTimelineObject * obj,
|
|||
}
|
||||
|
||||
else {
|
||||
res = GES_TRACK_OBJECT (ges_track_transition_new ());
|
||||
GST_WARNING ("Transitions don't handle this track type");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return res;
|
||||
|
|
|
@ -110,9 +110,3 @@ static void
|
|||
ges_track_operation_init (GESTrackOperation * self)
|
||||
{
|
||||
}
|
||||
|
||||
GESTrackOperation *
|
||||
ges_track_operation_new (void)
|
||||
{
|
||||
return g_object_new (GES_TYPE_TRACK_OPERATION, NULL);
|
||||
}
|
||||
|
|
|
@ -144,11 +144,3 @@ static void
|
|||
ges_track_transition_init (GESTrackTransition * self)
|
||||
{
|
||||
}
|
||||
|
||||
GESTrackTransition *
|
||||
ges_track_transition_new (void)
|
||||
{
|
||||
GESTrackTransition *ret = g_object_new (GES_TYPE_TRACK_TRANSITION, NULL);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -81,8 +81,6 @@ struct _GESTrackTransitionClass {
|
|||
|
||||
GType ges_track_transition_get_type (void);
|
||||
|
||||
GESTrackTransition *ges_track_transition_new (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue