mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
ges: Remove creators for base classes
This commit is contained in:
parent
8cef09279a
commit
218bd56866
6 changed files with 12 additions and 15 deletions
|
@ -94,7 +94,6 @@ GES_TYPE_TRACK_OBJECT
|
|||
<TITLE>GESTrackSource</TITLE>
|
||||
GESTrackSource
|
||||
GESTrackSourceClass
|
||||
ges_track_source_new
|
||||
<SUBSECTION Standard>
|
||||
GESTrackSourcePrivate
|
||||
GES_TRACK_SOURCE
|
||||
|
@ -111,7 +110,6 @@ ges_track_source_get_type
|
|||
<TITLE>GESTrackOperation</TITLE>
|
||||
GESTrackOperation
|
||||
GESTrackOperationClass
|
||||
ges_track_operation_new
|
||||
<SUBSECTION Standard>
|
||||
GESTrackOperationPrivate
|
||||
ges_track_operation_get_type
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "ges-internal.h"
|
||||
#include "ges-custom-timeline-source.h"
|
||||
#include "ges-timeline-source.h"
|
||||
#include "ges-track-source.h"
|
||||
|
||||
struct _GESCustomTimelineSourcePrivate
|
||||
{
|
||||
|
@ -65,6 +66,13 @@ ges_cust_timeline_src_set_property (GObject * object, guint property_id,
|
|||
}
|
||||
}
|
||||
|
||||
static GESTrackObject *
|
||||
ges_cust_timeline_src_create_track_object (GESTimelineObject * obj,
|
||||
GESTrack * track)
|
||||
{
|
||||
return g_object_new (GES_TYPE_TRACK_SOURCE, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
ges_cust_timeline_src_dispose (GObject * object)
|
||||
{
|
||||
|
@ -91,6 +99,7 @@ ges_cust_timeline_src_class_init (GESCustomTimelineSourceClass * klass)
|
|||
object_class->finalize = ges_cust_timeline_src_finalize;
|
||||
|
||||
tlobj_class->fill_track_object = ges_cust_timeline_src_fill_track_object;
|
||||
tlobj_class->create_track_object = ges_cust_timeline_src_create_track_object;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -217,9 +217,9 @@ static GESTrackObject *
|
|||
ges_timeline_source_create_track_object (GESTimelineObject * obj,
|
||||
GESTrack * track)
|
||||
{
|
||||
GST_DEBUG ("Creating a GESTrackSource");
|
||||
/* FIXME : Implement properly ! */
|
||||
return (GESTrackObject *) ges_track_source_new ();
|
||||
GST_ERROR
|
||||
("No GESTimelineObject::create_track_object vmethod implementation");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
@ -85,8 +85,6 @@ struct _GESTrackOperationClass {
|
|||
|
||||
GType ges_track_operation_get_type (void);
|
||||
|
||||
GESTrackOperation* ges_track_operation_new (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _GES_TRACK_OPERATION */
|
||||
|
|
|
@ -120,9 +120,3 @@ ges_track_source_init (GESTrackSource * self)
|
|||
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
|
||||
GES_TYPE_TRACK_SOURCE, GESTrackSourcePrivate);
|
||||
}
|
||||
|
||||
GESTrackSource *
|
||||
ges_track_source_new (void)
|
||||
{
|
||||
return g_object_new (GES_TYPE_TRACK_SOURCE, NULL);
|
||||
}
|
||||
|
|
|
@ -86,8 +86,6 @@ struct _GESTrackSourceClass {
|
|||
|
||||
GType ges_track_source_get_type (void);
|
||||
|
||||
GESTrackSource* ges_track_source_new (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _GES_TRACK_SOURCE */
|
||||
|
|
Loading…
Reference in a new issue