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>
|
<TITLE>GESTrackSource</TITLE>
|
||||||
GESTrackSource
|
GESTrackSource
|
||||||
GESTrackSourceClass
|
GESTrackSourceClass
|
||||||
ges_track_source_new
|
|
||||||
<SUBSECTION Standard>
|
<SUBSECTION Standard>
|
||||||
GESTrackSourcePrivate
|
GESTrackSourcePrivate
|
||||||
GES_TRACK_SOURCE
|
GES_TRACK_SOURCE
|
||||||
|
@ -111,7 +110,6 @@ ges_track_source_get_type
|
||||||
<TITLE>GESTrackOperation</TITLE>
|
<TITLE>GESTrackOperation</TITLE>
|
||||||
GESTrackOperation
|
GESTrackOperation
|
||||||
GESTrackOperationClass
|
GESTrackOperationClass
|
||||||
ges_track_operation_new
|
|
||||||
<SUBSECTION Standard>
|
<SUBSECTION Standard>
|
||||||
GESTrackOperationPrivate
|
GESTrackOperationPrivate
|
||||||
ges_track_operation_get_type
|
ges_track_operation_get_type
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#include "ges-internal.h"
|
#include "ges-internal.h"
|
||||||
#include "ges-custom-timeline-source.h"
|
#include "ges-custom-timeline-source.h"
|
||||||
#include "ges-timeline-source.h"
|
#include "ges-timeline-source.h"
|
||||||
|
#include "ges-track-source.h"
|
||||||
|
|
||||||
struct _GESCustomTimelineSourcePrivate
|
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
|
static void
|
||||||
ges_cust_timeline_src_dispose (GObject * object)
|
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;
|
object_class->finalize = ges_cust_timeline_src_finalize;
|
||||||
|
|
||||||
tlobj_class->fill_track_object = ges_cust_timeline_src_fill_track_object;
|
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
|
static void
|
||||||
|
|
|
@ -217,9 +217,9 @@ static GESTrackObject *
|
||||||
ges_timeline_source_create_track_object (GESTimelineObject * obj,
|
ges_timeline_source_create_track_object (GESTimelineObject * obj,
|
||||||
GESTrack * track)
|
GESTrack * track)
|
||||||
{
|
{
|
||||||
GST_DEBUG ("Creating a GESTrackSource");
|
GST_ERROR
|
||||||
/* FIXME : Implement properly ! */
|
("No GESTimelineObject::create_track_object vmethod implementation");
|
||||||
return (GESTrackObject *) ges_track_source_new ();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
|
@ -85,8 +85,6 @@ struct _GESTrackOperationClass {
|
||||||
|
|
||||||
GType ges_track_operation_get_type (void);
|
GType ges_track_operation_get_type (void);
|
||||||
|
|
||||||
GESTrackOperation* ges_track_operation_new (void);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* _GES_TRACK_OPERATION */
|
#endif /* _GES_TRACK_OPERATION */
|
||||||
|
|
|
@ -120,9 +120,3 @@ ges_track_source_init (GESTrackSource * self)
|
||||||
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
|
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
|
||||||
GES_TYPE_TRACK_SOURCE, GESTrackSourcePrivate);
|
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);
|
GType ges_track_source_get_type (void);
|
||||||
|
|
||||||
GESTrackSource* ges_track_source_new (void);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* _GES_TRACK_SOURCE */
|
#endif /* _GES_TRACK_SOURCE */
|
||||||
|
|
Loading…
Reference in a new issue