mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
ges: Make some classes abstract with G_DEFINE_ABSTRACT_TYPE
This commit is contained in:
parent
eb4cf96b29
commit
36e165e190
3 changed files with 4 additions and 4 deletions
|
@ -46,7 +46,7 @@
|
|||
#include "ges-keyfile-formatter.h"
|
||||
#include "ges-internal.h"
|
||||
|
||||
G_DEFINE_TYPE (GESFormatter, ges_formatter, G_TYPE_OBJECT);
|
||||
G_DEFINE_ABSTRACT_TYPE (GESFormatter, ges_formatter, G_TYPE_OBJECT);
|
||||
|
||||
static void ges_formatter_dispose (GObject * object);
|
||||
static gboolean load_from_uri (GESFormatter * formatter, GESTimeline *
|
||||
|
|
|
@ -45,7 +45,7 @@ static void
|
|||
track_object_priority_offset_changed_cb (GESTrackObject * child,
|
||||
GParamSpec * arg G_GNUC_UNUSED, GESTimelineObject * obj);
|
||||
|
||||
G_DEFINE_TYPE (GESTimelineObject, ges_timeline_object, G_TYPE_OBJECT);
|
||||
G_DEFINE_ABSTRACT_TYPE (GESTimelineObject, ges_timeline_object, G_TYPE_OBJECT);
|
||||
|
||||
struct _GESTimelineObjectPrivate
|
||||
{
|
||||
|
|
|
@ -47,8 +47,8 @@ static GQuark _priority_quark;
|
|||
_priority_quark = g_quark_from_static_string ("priority"); \
|
||||
}
|
||||
|
||||
G_DEFINE_TYPE_WITH_CODE (GESTrackObject, ges_track_object, G_TYPE_OBJECT,
|
||||
_do_init);
|
||||
G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GESTrackObject, ges_track_object,
|
||||
G_TYPE_OBJECT, _do_init);
|
||||
|
||||
struct _GESTrackObjectPrivate
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue