ges: Make some classes abstract with G_DEFINE_ABSTRACT_TYPE

This commit is contained in:
Edward Hervey 2010-12-09 15:21:10 +01:00
parent eb4cf96b29
commit 36e165e190
3 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,7 @@
#include "ges-keyfile-formatter.h" #include "ges-keyfile-formatter.h"
#include "ges-internal.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 void ges_formatter_dispose (GObject * object);
static gboolean load_from_uri (GESFormatter * formatter, GESTimeline * static gboolean load_from_uri (GESFormatter * formatter, GESTimeline *

View file

@ -45,7 +45,7 @@ static void
track_object_priority_offset_changed_cb (GESTrackObject * child, track_object_priority_offset_changed_cb (GESTrackObject * child,
GParamSpec * arg G_GNUC_UNUSED, GESTimelineObject * obj); 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 struct _GESTimelineObjectPrivate
{ {

View file

@ -47,8 +47,8 @@ static GQuark _priority_quark;
_priority_quark = g_quark_from_static_string ("priority"); \ _priority_quark = g_quark_from_static_string ("priority"); \
} }
G_DEFINE_TYPE_WITH_CODE (GESTrackObject, ges_track_object, G_TYPE_OBJECT, G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GESTrackObject, ges_track_object,
_do_init); G_TYPE_OBJECT, _do_init);
struct _GESTrackObjectPrivate struct _GESTrackObjectPrivate
{ {