diff options
author | Edward Hervey <edward.hervey@collabora.co.uk> | 2009-08-04 17:16:31 +0200 |
---|---|---|
committer | Edward Hervey <edward.hervey@collabora.co.uk> | 2009-08-04 19:22:53 +0200 |
commit | 30f973235d5f0137f21d442b2dc8da3d8228a6bc (patch) | |
tree | 65dfa0ec7a4071dd572124b6c9d145bee9c24695 /src/ges-timeline-layer.c | |
parent | ee8bf88ebf131cf7c7161356540efc20bf411e14 (diff) |
It builds !!!! :)
Diffstat (limited to 'src/ges-timeline-layer.c')
-rw-r--r-- | src/ges-timeline-layer.c | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/src/ges-timeline-layer.c b/src/ges-timeline-layer.c index 2e9ef0a..6a1e1ad 100644 --- a/src/ges-timeline-layer.c +++ b/src/ges-timeline-layer.c @@ -26,50 +26,49 @@ */ G_DEFINE_TYPE (GESTimelineLayer, ges_timeline_layer, G_TYPE_OBJECT) - #define GET_PRIVATE(o) \ (G_TYPE_INSTANCE_GET_PRIVATE ((o), GES_TYPE_TIMELINE_LAYER, GESTimelineLayerPrivate)) + typedef struct _GESTimelineLayerPrivate GESTimelineLayerPrivate; -typedef struct _GESTimelineLayerPrivate GESTimelineLayerPrivate; - -struct _GESTimelineLayerPrivate { - int dummy; -}; + struct _GESTimelineLayerPrivate + { + int dummy; + }; -static void -ges_timeline_layer_get_property (GObject *object, guint property_id, - GValue *value, GParamSpec *pspec) + static void + ges_timeline_layer_get_property (GObject * object, guint property_id, + GValue * value, GParamSpec * pspec) { switch (property_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); } } static void -ges_timeline_layer_set_property (GObject *object, guint property_id, - const GValue *value, GParamSpec *pspec) +ges_timeline_layer_set_property (GObject * object, guint property_id, + const GValue * value, GParamSpec * pspec) { switch (property_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); } } static void -ges_timeline_layer_dispose (GObject *object) +ges_timeline_layer_dispose (GObject * object) { G_OBJECT_CLASS (ges_timeline_layer_parent_class)->dispose (object); } static void -ges_timeline_layer_finalize (GObject *object) +ges_timeline_layer_finalize (GObject * object) { G_OBJECT_CLASS (ges_timeline_layer_parent_class)->finalize (object); } static void -ges_timeline_layer_class_init (GESTimelineLayerClass *klass) +ges_timeline_layer_class_init (GESTimelineLayerClass * klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); @@ -82,13 +81,12 @@ ges_timeline_layer_class_init (GESTimelineLayerClass *klass) } static void -ges_timeline_layer_init (GESTimelineLayer *self) +ges_timeline_layer_init (GESTimelineLayer * self) { } -GESTimelineLayer* +GESTimelineLayer * ges_timeline_layer_new (void) { return g_object_new (GES_TYPE_TIMELINE_LAYER, NULL); } - |