remove unneeded _new methods on certain base classes

This commit is contained in:
Brandon Lewis 2010-07-07 17:34:58 +02:00 committed by Edward Hervey
parent 2090570da7
commit 31ffb87dde
7 changed files with 2 additions and 27 deletions

View file

@ -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

View file

@ -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);
}

View file

@ -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 */

View file

@ -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;

View file

@ -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);
}

View file

@ -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;
}

View file

@ -81,8 +81,6 @@ struct _GESTrackTransitionClass {
GType ges_track_transition_get_type (void);
GESTrackTransition *ges_track_transition_new (void);
G_END_DECLS
#endif