ges: Add instance private structures
authorThibault Saunier <thibault.saunier@collabora.co.uk>
Sat, 4 Dec 2010 18:54:13 +0000 (19:54 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Wed, 8 Dec 2010 11:54:02 +0000 (12:54 +0100)
41 files changed:
docs/libs/ges-sections.txt
ges/ges-timeline-layer.c
ges/ges-timeline-layer.h
ges/ges-timeline-overlay.c
ges/ges-timeline-overlay.h
ges/ges-timeline-source.c
ges/ges-timeline-source.h
ges/ges-timeline-test-source.c
ges/ges-timeline-test-source.h
ges/ges-timeline-text-overlay.c
ges/ges-timeline-text-overlay.h
ges/ges-timeline-title-source.c
ges/ges-timeline-title-source.h
ges/ges-timeline-transition.c
ges/ges-timeline-transition.h
ges/ges-track-audio-test-source.c
ges/ges-track-audio-test-source.h
ges/ges-track-audio-transition.c
ges/ges-track-audio-transition.h
ges/ges-track-filesource.c
ges/ges-track-filesource.h
ges/ges-track-image-source.c
ges/ges-track-image-source.h
ges/ges-track-object.c
ges/ges-track-object.h
ges/ges-track-operation.c
ges/ges-track-operation.h
ges/ges-track-source.c
ges/ges-track-source.h
ges/ges-track-text-overlay.c
ges/ges-track-text-overlay.h
ges/ges-track-title-source.c
ges/ges-track-title-source.h
ges/ges-track-transition.c
ges/ges-track-transition.h
ges/ges-track-video-test-source.c
ges/ges-track-video-test-source.h
ges/ges-track-video-transition.c
ges/ges-track-video-transition.h
ges/ges-track.c
ges/ges-track.h

index 4ba2eea27b3a02df8674a41815544dd74859bba8..212e38c82104c7b93954d97960a3f1583993de14 100644 (file)
@@ -47,6 +47,7 @@ ges_track_add_object
 ges_track_remove_object
 ges_track_set_caps
 <SUBSECTION Standard>
+GESTrackPrivate
 ges_track_set_timeline
 ges_track_get_type
 GES_IS_TRACK
@@ -69,6 +70,7 @@ GES_TRACK_OBJECT_PRIORITY_OFFSET
 GES_TRACK_OBJECT_START
 ges_track_object_set_active
 <SUBSECTION Standard>
+GESTrackObjectPrivate
 ges_track_object_set_timeline_object
 ges_track_object_set_track
 ges_track_object_set_duration_internal
@@ -92,6 +94,7 @@ GESTrackSource
 GESTrackSourceClass
 ges_track_source_new
 <SUBSECTION Standard>
+GESTrackSourcePrivate
 GES_TRACK_SOURCE
 GES_TRACK_SOURCE_CLASS
 GES_TRACK_SOURCE_GET_CLASS
@@ -108,6 +111,7 @@ GESTrackOperation
 GESTrackOperationClass
 ges_track_operation_new
 <SUBSECTION Standard>
+GESTrackOperationPrivate
 ges_track_operation_get_type
 GES_IS_TRACK_OPERATION
 GES_IS_TRACK_OPERATION_CLASS
@@ -124,6 +128,7 @@ GESTrackFileSource
 GESTrackFileSourceClass
 ges_track_filesource_new
 <SUBSECTION Standard>
+GESTrackFileSourcePrivate
 GES_TRACK_FILESOURCE
 GES_TRACK_FILESOURCE_CLASS
 GES_TRACK_FILESOURCE_GET_CLASS
@@ -139,6 +144,7 @@ ges_track_filesource_get_type
 GESTrackImageSource
 GESTrackImageSourceClass
 <SUBSECTION Standard>
+GESTrackImageSourcePrivate
 GES_IS_TRACK_IMAGE_SOURCE
 GES_IS_TRACK_IMAGE_SOURCE_CLASS
 GES_TRACK_IMAGE_SOURCE
@@ -155,6 +161,7 @@ ges_track_image_source_new
 GESTrackTransition
 GESTrackTransitionClass
 <SUBSECTION Standard>
+GESTrackTransitionPrivate
 GES_IS_TRACK_TRANSITION
 GES_IS_TRACK_TRANSITION_CLASS
 GES_TRACK_TRANSITION
@@ -171,6 +178,7 @@ GESTrackAudioTransition
 GESTrackAudioTransitionClass
 ges_track_audio_transition_new
 <SUBSECTION Standard>
+GESTrackAudioTransitionPrivate
 GES_IS_TRACK_AUDIO_TRANSITION
 ges_track_audio_transition_get_type
 GES_IS_TRACK_AUDIO_TRANSITION_CLASS
@@ -188,6 +196,7 @@ GESTrackVideoTransitionClass
 ges_track_video_transition_new
 ges_track_video_transition_set_type
 <SUBSECTION Standard>
+GESTrackVideoTransitionPrivate
 ges_track_video_transition_get_type
 GES_IS_TRACK_VIDEO_TRANSITION
 GES_IS_TRACK_VIDEO_TRANSITION_CLASS
@@ -235,6 +244,7 @@ ges_timeline_layer_remove_object
 ges_timeline_layer_set_priority
 ges_timeline_layer_get_objects
 <SUBSECTION Standard>
+GESTimelineLayerPrivate
 ges_timeline_layer_set_timeline
 ges_timeline_layer_get_type
 GES_IS_TIMELINE_LAYER
@@ -313,6 +323,7 @@ GESTimelineSource
 GESTimelineSourceClass
 ges_timeline_source_new
 <SUBSECTION Standard>
+GESTimelineSourcePrivate
 ges_timeline_source_get_type
 GES_IS_TIMELINE_SOURCE
 GES_IS_TIMELINE_SOURCE_CLASS
@@ -344,6 +355,7 @@ GES_TYPE_TIMELINE_FILE_SOURCE
 GESTimelineOverlay
 GESTimelineOverlayClass
 <SUBSECTION Standard>
+GESTimelineOverlayPrivate
 ges_timeline_overlay_get_type
 GES_IS_TIMELINE_OVERLAY
 GES_IS_TIMELINE_OVERLAY_CLASS
@@ -361,6 +373,7 @@ GESTimelineTransitionClass
 ges_timeline_transition_new
 ges_timeline_transition_new_for_nick
 <SUBSECTION Standard>
+GESTimelineTransitionPrivate
 GES_IS_TIMELINE_TRANSITION
 GES_IS_TIMELINE_TRANSITION_CLASS
 GES_TIMELINE_TRANSITION
@@ -415,6 +428,7 @@ GESTimelineTestSourceClass
 ges_timeline_test_source_new
 ges_timeline_test_source_new_for_nick
 <SUBSECTION Standard>
+GESTimelineTestSourcePrivate
 ges_timeline_test_source_get_type
 GES_TYPE_TIMELINE_TEST_SOURCE
 GES_IS_TIMELINE_TEST_SOURCE
@@ -431,6 +445,7 @@ GESTimelineTitleSource
 GESTimelineTitleSourceClass
 ges_timeline_title_source_new
 <SUBSECTION Standard>
+GESTimelineTitleSourcePrivate
 ges_tl_title_src_get_type
 GES_IS_TIMELINE_TITLE_SOURCE
 GES_IS_TIMELINE_TITLE_SOURCE_CLASS
@@ -446,6 +461,7 @@ GESTimelineTextOverlay
 GESTimelineTextOverlayClass
 ges_timeline_text_overlay_new
 <SUBSECTION Standard>
+GESTimelineTextOverlayPrivate
 ges_tl_text_overlay_get_type
 GES_IS_TIMELINE_TEXT_OVERLAY
 GES_IS_TIMELINE_TEXT_OVERLAY_CLASS
@@ -463,6 +479,7 @@ GESTrackVideoTestSourceClass
 ges_track_video_test_source_new
 ges_track_video_test_source_set_pattern
 <SUBSECTION Standard>
+GESTrackVideoTestSourcePrivate
 ges_track_video_test_source_get_type
 GES_IS_TRACK_VIDEO_TEST_SOURCE
 GES_IS_TRACK_VIDEO_TEST_SOURCE_CLASS
@@ -481,6 +498,7 @@ ges_track_audio_test_source_new
 ges_track_audio_test_source_set_freq
 ges_track_audio_test_source_set_volume
 <SUBSECTION Standard>
+GESTrackAudioTestSourcePrivate
 ges_track_audio_test_source_get_type
 GES_TRACK_AUDIO_TEST_SOURCE
 GES_TRACK_AUDIO_TEST_SOURCE_CLASS
@@ -502,6 +520,7 @@ ges_track_title_source_set_halignment
 ges_track_title_source_set_valignment
 ges_track_title_source_new
 <SUBSECTION Standard>
+GESTrackTitleSourcePrivate
 ges_track_title_src_get_type
 GES_TRACK_TITLE_SOURCE
 GES_TRACK_TITLE_SOURCE_CLASS
@@ -523,6 +542,7 @@ ges_track_text_overlay_set_halignment
 ges_track_text_overlay_set_text
 ges_track_text_overlay_set_valignment
 <SUBSECTION Standard>
+GESTrackTextOverlayPrivate
 ges_track_text_overlay_get_type
 GES_IS_TRACK_TEXT_OVERLAY
 GES_IS_TRACK_TEXT_OVERLAY_CLASS
index 23a978dca35d96e26564d28fab8ebf605007ea89..b9e0e4aa2580513dfe354e87e0d45a91072ab2cf 100644 (file)
 
 G_DEFINE_TYPE (GESTimelineLayer, ges_timeline_layer, G_TYPE_OBJECT);
 
+struct _GESTimelineLayerPrivate
+{
+  /*  Dummy variable */
+  void *nothing;
+};
+
 enum
 {
   PROP_0,
@@ -108,6 +114,8 @@ ges_timeline_layer_class_init (GESTimelineLayerClass * klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
+  g_type_class_add_private (klass, sizeof (GESTimelineLayerPrivate));
+
   object_class->get_property = ges_timeline_layer_get_property;
   object_class->set_property = ges_timeline_layer_set_property;
   object_class->dispose = ges_timeline_layer_dispose;
@@ -156,6 +164,9 @@ ges_timeline_layer_class_init (GESTimelineLayerClass * klass)
 static void
 ges_timeline_layer_init (GESTimelineLayer * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TIMELINE_LAYER, GESTimelineLayerPrivate);
+
   /* TODO : Keep those 3 values in sync */
   self->priority = 0;
   self->min_gnl_priority = 0;
index 6983ca4840cceb6042463e7d62864ad559d5ce1a..b527ffbf8ef1e4d9728f1235fee07396275c5e27 100644 (file)
@@ -43,6 +43,8 @@ G_BEGIN_DECLS
 #define GES_TIMELINE_LAYER_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_LAYER, GESTimelineLayerClass))
 
+typedef struct _GESTimelineLayerPrivate GESTimelineLayerPrivate;
+
 /**
  * GESTimelineLayer:
  * @timeline: the #GESTimeline where this layer is being used.
@@ -63,6 +65,8 @@ struct _GESTimelineLayer {
 
   guint32 min_gnl_priority, max_gnl_priority;
 
+  GESTimelineLayerPrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index 55835bbc7a7cb7575da6a83b116a8ca6debbd446..23ebc51da779c30bcbf09fedbd90755d96ee68a6 100644 (file)
 G_DEFINE_TYPE (GESTimelineOverlay, ges_timeline_overlay,
     GES_TYPE_TIMELINE_OBJECT);
 
+struct _GESTimelineOverlayPrivate
+{
+  /*  Dummy variable */
+  void *nothing;
+};
+
 static void
 ges_timeline_overlay_get_property (GObject * object, guint property_id,
     GValue * value, GParamSpec * pspec)
@@ -74,6 +80,8 @@ ges_timeline_overlay_class_init (GESTimelineOverlayClass * klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
+  g_type_class_add_private (klass, sizeof (GESTimelineOverlayPrivate));
+
   object_class->get_property = ges_timeline_overlay_get_property;
   object_class->set_property = ges_timeline_overlay_set_property;
   object_class->dispose = ges_timeline_overlay_dispose;
@@ -83,4 +91,6 @@ ges_timeline_overlay_class_init (GESTimelineOverlayClass * klass)
 static void
 ges_timeline_overlay_init (GESTimelineOverlay * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TIMELINE_OVERLAY, GESTimelineOverlayPrivate);
 }
index ae9c3b7dab9957ce417524b85dd435950f2e57ce..11387ced09a984b291751d0e4a562ab17d874ecf 100644 (file)
@@ -44,6 +44,8 @@ G_BEGIN_DECLS
 #define GES_TIMELINE_OVERLAY_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_OVERLAY, GESTimelineOverlayClass))
 
+typedef struct _GESTimelineOverlayPrivate GESTimelineOverlayPrivate;
+
 /**
  * GESTimelineOverlay:
  */
@@ -52,6 +54,9 @@ struct _GESTimelineOverlay {
   GESTimelineObject parent;
 
   /*< private >*/
+
+  GESTimelineOverlayPrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index 4792b56eae35df42e492f3e6d34521c3580c34bf..83a08c21d00507767ae2f10fe6bea9d1e50882e7 100644 (file)
 #define DEFAULT_PROP_FONT_DESC "Serif 36"
 #define DEFAULT_PROP_VALIGNMENT GES_TEXT_VALIGN_BASELINE
 #define DEFAULT_PROP_HALIGNMENT GES_TEXT_HALIGN_CENTER
-#
+
+struct _GESTimelineSourcePrivate
+{
+  /*  dummy variable */
+  void *nothing;
+};
+
 enum
 {
   PROP_0,
@@ -140,6 +146,8 @@ ges_timeline_source_class_init (GESTimelineSourceClass * klass)
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
   GESTimelineObjectClass *timobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
 
+  g_type_class_add_private (klass, sizeof (GESTimelineSourcePrivate));
+
   object_class->get_property = ges_timeline_source_get_property;
   object_class->set_property = ges_timeline_source_set_property;
   object_class->dispose = ges_timeline_source_dispose;
@@ -198,6 +206,9 @@ ges_timeline_source_class_init (GESTimelineSourceClass * klass)
 static void
 ges_timeline_source_init (GESTimelineSource * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TIMELINE_SOURCE, GESTimelineSourcePrivate);
+
   self->halign = DEFAULT_PROP_HALIGNMENT;
   self->valign = DEFAULT_PROP_VALIGNMENT;
 }
index 5510d190b97617b7d31e13ac061bc98f7647d92c..51102fc31e9e68ae25cbcbadeb786c75c2f0cf0d 100644 (file)
@@ -45,6 +45,8 @@ G_BEGIN_DECLS
 #define GES_TIMELINE_SOURCE_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_SOURCE, GESTimelineSourceClass))
 
+typedef struct _GESTimelineSourcePrivate GESTimelineSourcePrivate;
+
 /**
  * GESTimelineSource:
  *
@@ -59,6 +61,8 @@ struct _GESTimelineSource {
   GESTextHAlign halign;
   GESTextVAlign valign;
 
+  GESTimelineSourcePrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index d23fd9b0db64abe496d136d395c496d2035c07e3..68ec98481d04ecc3d912bbf79de9bdfbe043ca5d 100644 (file)
 G_DEFINE_TYPE (GESTimelineTestSource, ges_timeline_test_source,
     GES_TYPE_TIMELINE_SOURCE);
 
+struct _GESTimelineTestSourcePrivate
+{
+  /*  Dummy variable */
+  void *nothing;
+};
+
 enum
 {
   PROP_0,
@@ -131,6 +137,8 @@ ges_timeline_test_source_class_init (GESTimelineTestSourceClass * klass)
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
   GESTimelineObjectClass *timobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
 
+  g_type_class_add_private (klass, sizeof (GESTimelineTestSourcePrivate));
+
   object_class->get_property = ges_timeline_test_source_get_property;
   object_class->set_property = ges_timeline_test_source_set_property;
   object_class->dispose = ges_timeline_test_source_dispose;
@@ -185,6 +193,9 @@ ges_timeline_test_source_class_init (GESTimelineTestSourceClass * klass)
 static void
 ges_timeline_test_source_init (GESTimelineTestSource * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TIMELINE_TEST_SOURCE, GESTimelineTestSourcePrivate);
+
   self->freq = 0;
   self->volume = 0;
   GES_TIMELINE_OBJECT (self)->duration = 0;
index fc87d535164f6aedb4e2d0484103bf68c261754f..5b1bf8641be0f6bb4390367548da33b65fbf71d1 100644 (file)
@@ -46,6 +46,8 @@ G_BEGIN_DECLS
 #define GES_TIMELINE_TEST_SOURCE_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_TEST_SOURCE, GESTimelineTestSourceClass))
 
+typedef struct _GESTimelineTestSourcePrivate GESTimelineTestSourcePrivate;
+
 /**
  * GESTimelineTestSource:
  * 
@@ -59,6 +61,8 @@ struct _GESTimelineTestSource {
   GESVideoTestPattern vpattern;
   gdouble freq;
   gdouble volume;
+  
+  GESTimelineTestSourcePrivate *priv;
 
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
index 6ed3c1bf482e9af030f558e06b95d07d4e21df0c..16fc3037406331fea51abd3c00e89d3bc28c173b 100644 (file)
@@ -39,6 +39,13 @@ G_DEFINE_TYPE (GESTimelineTextOverlay, ges_tl_text_overlay,
 #define DEFAULT_PROP_VALIGNMENT GES_TEXT_VALIGN_BASELINE
 #define DEFAULT_PROP_HALIGNMENT GES_TEXT_HALIGN_CENTER
 #
+
+struct _GESTimelineTextOverlayPrivate
+{
+  /* Dummy variable */
+  void *nothing;
+};
+
 enum
 {
   PROP_0,
@@ -142,6 +149,8 @@ ges_tl_text_overlay_class_init (GESTimelineTextOverlayClass * klass)
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
   GESTimelineObjectClass *timobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
 
+  g_type_class_add_private (klass, sizeof (GESTimelineTextOverlayPrivate));
+
   object_class->get_property = ges_tl_text_overlay_get_property;
   object_class->set_property = ges_tl_text_overlay_set_property;
   object_class->dispose = ges_tl_text_overlay_dispose;
@@ -198,6 +207,9 @@ ges_tl_text_overlay_class_init (GESTimelineTextOverlayClass * klass)
 static void
 ges_tl_text_overlay_init (GESTimelineTextOverlay * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TIMELINE_TEXT_OVERLAY, GESTimelineTextOverlayPrivate);
+
   GES_TIMELINE_OBJECT (self)->duration = 0;
   /* Not 100% needed since gobject contents are memzero'd when created */
   self->text = NULL;
index f74cb8166bdfac58ea1d01d5c763401ae4b8e9da..1fbee557f2ffd812f32e88f8b251a381b73a9344 100644 (file)
@@ -45,6 +45,8 @@ G_BEGIN_DECLS
 #define GES_TIMELINE_TEXT_OVERLAY_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_TEXT_OVERLAY, GESTimelineTextOverlayClass))
 
+typedef struct _GESTimelineTextOverlayPrivate GESTimelineTextOverlayPrivate;
+
 /**
  * GESTimelineTextOverlay:
  * 
@@ -60,6 +62,8 @@ struct _GESTimelineTextOverlay {
   GESTextHAlign halign;
   GESTextVAlign valign;
 
+  GESTimelineTextOverlayPrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index bf201ccaed0658801a80bbc48012f53418768a70..a9d9789d2c3890a25ef753fdc3bf411f8790d51b 100644 (file)
@@ -44,6 +44,12 @@ G_DEFINE_TYPE (GESTimelineTitleSource, ges_tl_title_src,
 #define GES_TIMELINE_TITLE_SRC_VALIGN_TYPE (ges_timeline_title_source_valign_get_type())
 #define GES_TIMELINE_TITLE_SRC_HALIGN_TYPE (ges_timeline_title_source_halign_get_type())
 
+struct _GESTimelineTitleSourcePrivate
+{
+  /* Dummy variable */
+  void *nothing;
+};
+
 enum
 {
   PROP_0,
@@ -154,6 +160,8 @@ ges_tl_title_src_class_init (GESTimelineTitleSourceClass * klass)
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
   GESTimelineObjectClass *timobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
 
+  g_type_class_add_private (klass, sizeof (GESTimelineTitleSourcePrivate));
+
   object_class->get_property = ges_tl_title_src_get_property;
   object_class->set_property = ges_tl_title_src_set_property;
   object_class->dispose = ges_tl_title_src_dispose;
@@ -216,6 +224,9 @@ ges_tl_title_src_class_init (GESTimelineTitleSourceClass * klass)
 static void
 ges_tl_title_src_init (GESTimelineTitleSource * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TIMELINE_TITLE_SOURCE, GESTimelineTitleSourcePrivate);
+
   GES_TIMELINE_OBJECT (self)->duration = 0;
   /* Not 100% required since a new gobject's content will always be memzero'd */
   self->mute = FALSE;
index 86f1b138ca86ca789f39f4e71da913f9339b2509..fa086d08626de7a927ff5f9bd2b451328d5a6160 100644 (file)
@@ -45,6 +45,8 @@ G_BEGIN_DECLS
 #define GES_TIMELINE_TITLE_SOURCE_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_TITLE_SOURCE, GESTimelineTitleSourceClass))
 
+typedef struct _GESTimelineTitleSourcePrivate GESTimelineTitleSourcePrivate;
+
 /**
  * GESTimelineTitleSource:
  * 
@@ -60,6 +62,8 @@ struct _GESTimelineTitleSource {
   GESTextVAlign halign;
   GESTextHAlign valign;
 
+  GESTimelineTitleSourcePrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index 039f9c7abf1b84da0d553b6b1c9f8953fce867b2..6f75eb3c2b0a754a5da8761acd047fc9288d5297 100644 (file)
 #include "ges-track-video-transition.h"
 #include "ges-track-audio-transition.h"
 
+struct _GESTimelineTransitionPrivate
+{
+  /* Dummy variable */
+  void *nothing;
+};
 
 enum
 {
@@ -122,6 +127,8 @@ ges_timeline_transition_class_init (GESTimelineTransitionClass * klass)
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
   GESTimelineObjectClass *timobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
 
+  g_type_class_add_private (klass, sizeof (GESTimelineTransitionPrivate));
+
   object_class->get_property = ges_timeline_transition_get_property;
   object_class->set_property = ges_timeline_transition_set_property;
   object_class->dispose = ges_timeline_transition_dispose;
@@ -146,6 +153,10 @@ ges_timeline_transition_class_init (GESTimelineTransitionClass * klass)
 static void
 ges_timeline_transition_init (GESTimelineTransition * self)
 {
+
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TIMELINE_TRANSITION, GESTimelineTransitionPrivate);
+
   self->vtype = GES_VIDEO_TRANSITION_TYPE_NONE;
 }
 
index 1073ab9db12532164fc6e9aa63c89e995f0153c5..6006da97467192c1891b80e973f38e3309ca3856 100644 (file)
@@ -43,6 +43,8 @@ G_BEGIN_DECLS
 #define GES_TIMELINE_TRANSITION_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_TRANSITION, GESTimelineTransitionClass))
 
+typedef struct _GESTimelineTransitionPrivate GESTimelineTransitionPrivate;
+
 /**
  * GESTimelineTransition:
  * @vtype: a #GESVideoTransitionType indicating the type of video transition
@@ -56,6 +58,8 @@ struct _GESTimelineTransition {
   GESVideoTransitionType vtype;
 
   /*< private >*/
+  GESTimelineTransitionPrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index 929c1cee54057f017b3ef71b77a72629ba5c525a..5c0e6f9ccaa5ba6644862b630af57f57212fe60e 100644 (file)
 G_DEFINE_TYPE (GESTrackAudioTestSource, ges_track_audio_test_source,
     GES_TYPE_TRACK_SOURCE);
 
+struct _GESTrackAudioTestSourcePrivate
+{
+  /* Dummy variable */
+  void *nothing;
+};
+
 enum
 {
   PROP_0,
@@ -58,6 +64,8 @@ ges_track_audio_test_source_class_init (GESTrackAudioTestSourceClass * klass)
   GObjectClass *object_class;
   GESTrackSourceClass *bg_class;
 
+  g_type_class_add_private (klass, sizeof (GESTrackAudioTestSourcePrivate));
+
   object_class = G_OBJECT_CLASS (klass);
   bg_class = GES_TRACK_SOURCE_CLASS (klass);
 
@@ -72,6 +80,9 @@ ges_track_audio_test_source_class_init (GESTrackAudioTestSourceClass * klass)
 static void
 ges_track_audio_test_source_init (GESTrackAudioTestSource * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TRACK_AUDIO_TEST_SOURCE, GESTrackAudioTestSourcePrivate);
+
   self->freq = 440;
   self->volume = 0;
 }
index 8b6525ae0d4e95801a37f7b85891fde96ed02882..5d6065fa8d02e072e415f170ed004c33a2b56382 100644 (file)
@@ -44,6 +44,8 @@ G_BEGIN_DECLS
 #define GES_TRACK_AUDIO_TEST_SOURCE_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_AUDIO_TEST_SOURCE, GESTrackAudioTestSourceClass))
 
+typedef struct _GESTrackAudioTestSourcePrivate GESTrackAudioTestSourcePrivate;
+
 /** 
  * GESTrackAudioTestSource:
  *
@@ -56,6 +58,8 @@ struct _GESTrackAudioTestSource {
   gdouble freq;
   gdouble volume;
 
+  GESTrackAudioTestSourcePrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index 901092f8413b835f08c478fb13cf0debee8a8fbb..24e0adb203c6ba932dcb6b99ff17cc31741c035b 100644 (file)
 G_DEFINE_TYPE (GESTrackAudioTransition, ges_track_audio_transition,
     GES_TYPE_TRACK_TRANSITION);
 
+struct _GESTrackAudioTransitionPrivate
+{
+  /*  Dummy variable */
+  void *nothing;
+};
+
 enum
 {
   PROP_0,
@@ -61,6 +67,8 @@ ges_track_audio_transition_class_init (GESTrackAudioTransitionClass * klass)
   GESTrackObjectClass *toclass;
   GESTrackTransitionClass *pclass;
 
+  g_type_class_add_private (klass, sizeof (GESTrackAudioTransitionPrivate));
+
   object_class = G_OBJECT_CLASS (klass);
   toclass = GES_TRACK_OBJECT_CLASS (klass);
   pclass = GES_TRACK_TRANSITION_CLASS (klass);
@@ -79,6 +87,10 @@ ges_track_audio_transition_class_init (GESTrackAudioTransitionClass * klass)
 static void
 ges_track_audio_transition_init (GESTrackAudioTransition * self)
 {
+
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TRACK_AUDIO_TRANSITION, GESTrackAudioTransitionPrivate);
+
   self->a_controller = NULL;
   self->a_control_source = NULL;
 
index 1faac92d55e991e54456d826024a998a3b4837f7..5098308042804297423eeb663d5ea1b4e649c397 100644 (file)
@@ -44,6 +44,8 @@ G_BEGIN_DECLS
 #define GES_TRACK_AUDIO_TRANSITION_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_AUDIO_TRANSITION, GESTrackAudioTransitionClass))
 
+typedef struct _GESTrackAudioTransitionPrivate GESTrackAudioTransitionPrivate;
+
 /** 
  * GESTrackAudioTransition:
  *
@@ -61,6 +63,8 @@ struct _GESTrackAudioTransition {
   GstController                 *b_controller;
   GstInterpolationControlSource *b_control_source;
 
+  GESTrackAudioTransitionPrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index 4ddb80b7cac87ca6cb1cf72b9e1c895e99660c41..cb7f45a0b6d36166b6f46a2d5d3135c6f71077e2 100644 (file)
 
 G_DEFINE_TYPE (GESTrackFileSource, ges_track_filesource, GES_TYPE_TRACK_SOURCE);
 
+struct _GESTrackFileSourcePrivate
+{
+  /*  Dummy variable */
+  void *nothing;
+};
+
 enum
 {
   PROP_0,
@@ -101,6 +107,8 @@ ges_track_filesource_class_init (GESTrackFileSourceClass * klass)
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
   GESTrackObjectClass *track_class = GES_TRACK_OBJECT_CLASS (klass);
 
+  g_type_class_add_private (klass, sizeof (GESTrackFileSourcePrivate));
+
   object_class->get_property = ges_track_filesource_get_property;
   object_class->set_property = ges_track_filesource_set_property;
   object_class->dispose = ges_track_filesource_dispose;
@@ -120,6 +128,8 @@ ges_track_filesource_class_init (GESTrackFileSourceClass * klass)
 static void
 ges_track_filesource_init (GESTrackFileSource * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TRACK_FILESOURCE, GESTrackFileSourcePrivate);
 }
 
 GESTrackFileSource *
index b8592582864f5796588bd418c96df4cf5a27a523..5192c8bc333288273b3585167fb24f9291b78b17 100644 (file)
@@ -43,6 +43,9 @@ G_BEGIN_DECLS
 
 #define GES_TRACK_FILESOURCE_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_FILESOURCE, GESTrackFileSourceClass))
+
+typedef struct _GESTrackFileSourcePrivate GESTrackFileSourcePrivate;
+
 /** 
  * GESTrackFileSource:
  * @uri: #gchar *, the URI of the media file to play
@@ -55,6 +58,8 @@ struct _GESTrackFileSource {
   gchar *uri;
 
   /*< private >*/
+  GESTrackFileSourcePrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index 9f09ba3dac367c1c9614f3c23b27a33a43dbe7c8..1cabba485347d57e93bf36e8b658c8fef8888151 100644 (file)
 G_DEFINE_TYPE (GESTrackImageSource, ges_track_image_source,
     GES_TYPE_TRACK_SOURCE);
 
+struct _GESTrackImageSourcePrivate
+{
+  /*  Dummy variable */
+  void *nothing;
+};
+
 enum
 {
   PROP_0,
@@ -153,6 +159,8 @@ ges_track_image_source_class_init (GESTrackImageSourceClass * klass)
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
   GESTrackSourceClass *source_class = GES_TRACK_SOURCE_CLASS (klass);
 
+  g_type_class_add_private (klass, sizeof (GESTrackImageSourcePrivate));
+
   object_class->get_property = ges_track_image_source_get_property;
   object_class->set_property = ges_track_image_source_set_property;
   object_class->dispose = ges_track_image_source_dispose;
@@ -172,6 +180,8 @@ ges_track_image_source_class_init (GESTrackImageSourceClass * klass)
 static void
 ges_track_image_source_init (GESTrackImageSource * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TRACK_IMAGE_SOURCE, GESTrackImageSourcePrivate);
 }
 
 GESTrackImageSource *
index b7a9feec0dafc237c0e2b2d75418aeab2d5e1f03..93ca2f9fb25dc74c226faeb78a788b3bc6d7a47b 100644 (file)
@@ -43,6 +43,9 @@ G_BEGIN_DECLS
 
 #define GES_TRACK_IMAGE_SOURCE_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_IMAGE_SOURCE, GESTrackImageSourceClass))
+
+typedef struct _GESTrackImageSourcePrivate GESTrackImageSourcePrivate;
+
 /** 
  * GESTrackImageSource:
  * @uri: #gchar *, the URI of the media file to play
@@ -54,6 +57,8 @@ struct _GESTrackImageSource {
   /*< public >*/
   gchar *uri;
 
+  GESTrackImageSourcePrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index 67bb7813159b503d8cdcc8ea95065af3dc407641..3ad848e136fa5bce936f110f881f71ae36a227f7 100644 (file)
@@ -50,6 +50,12 @@ static GQuark _priority_quark;
 G_DEFINE_TYPE_WITH_CODE (GESTrackObject, ges_track_object, G_TYPE_OBJECT,
     _do_init);
 
+struct _GESTrackObjectPrivate
+{
+  /* Dummy variable */
+  void *nothing;
+};
+
 enum
 {
   PROP_0,
@@ -159,6 +165,8 @@ ges_track_object_class_init (GESTrackObjectClass * klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
+  g_type_class_add_private (klass, sizeof (GESTrackObjectPrivate));
+
   object_class->get_property = ges_track_object_get_property;
   object_class->set_property = ges_track_object_set_property;
   object_class->dispose = ges_track_object_dispose;
@@ -239,6 +247,9 @@ ges_track_object_class_init (GESTrackObjectClass * klass)
 static void
 ges_track_object_init (GESTrackObject * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TRACK_OBJECT, GESTrackObjectPrivate);
+
   /* Sane default values */
   self->pending_start = 0;
   self->pending_inpoint = 0;
@@ -302,7 +313,7 @@ ges_track_object_set_duration_internal (GESTrackObject * object,
 /* NOTE: we handle priority differently than other properties! the gnlpriority
  * is object->base_priority + object->priority_offset! A change to either one
  * will trigger an update to the gnonlin priority and a subsequent property
- * notification. 
+ * notification.
  */
 
 gboolean
index 572401e82e46ed43b4f76212d3461dd9a795a89f..c523af5f66b9fddec692d7406945d94ef2c8ff5a 100644 (file)
@@ -87,6 +87,8 @@ G_BEGIN_DECLS
 #define GES_TRACK_OBJECT_PRIORITY_OFFSET(obj)\
     (((GESTrackObject*)obj)->priority_offset)
 
+typedef struct _GESTrackObjectPrivate GESTrackObjectPrivate;
+
 /**
  * GESTrackObject:
  * @timelineobj: The #GESTimelineObject to which this object belongs.
@@ -133,6 +135,8 @@ struct _GESTrackObject {
 
   GstElement *gnlobject;
 
+  GESTrackObjectPrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index a02250fafd4d9cd0ad42aeee1ce46cd1da022ea6..d010d89ec4f84faca4d359abf6a40f7e6bd36cfd 100644 (file)
 
 G_DEFINE_TYPE (GESTrackOperation, ges_track_operation, GES_TYPE_TRACK_OBJECT);
 
+struct _GESTrackOperationPrivate
+{
+  /* Dummy variable */
+  void *nothing;
+};
+
 static void
 ges_track_operation_get_property (GObject * object, guint property_id,
     GValue * value, GParamSpec * pspec)
@@ -97,6 +103,8 @@ ges_track_operation_class_init (GESTrackOperationClass * klass)
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
   GESTrackObjectClass *track_class = GES_TRACK_OBJECT_CLASS (klass);
 
+  g_type_class_add_private (klass, sizeof (GESTrackOperationPrivate));
+
   object_class->get_property = ges_track_operation_get_property;
   object_class->set_property = ges_track_operation_set_property;
   object_class->dispose = ges_track_operation_dispose;
@@ -109,4 +117,6 @@ ges_track_operation_class_init (GESTrackOperationClass * klass)
 static void
 ges_track_operation_init (GESTrackOperation * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TRACK_OPERATION, GESTrackOperationPrivate);
 }
index 0212c327dcfb8de6dc24d61a34da79d5d0fccb11..1ef842fb525dffe55fb6956b819ca2438db6dbff 100644 (file)
@@ -45,6 +45,8 @@ G_BEGIN_DECLS
 #define GES_TRACK_OPERATION_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_OPERATION, GESTrackOperationClass))
 
+typedef struct _GESTrackOperationPrivate GESTrackOperationPrivate;
+
 /**
  * GESTrackOperation:
  * @parent: parent
@@ -59,6 +61,8 @@ struct _GESTrackOperation {
   /*< private >*/
   GstElement *element;
 
+  GESTrackOperationPrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index 7418c75c465538675c081dcfb637e66866f6812a..8b38b273a912567525287d18f7c08d4f33c3e6a9 100644 (file)
 
 G_DEFINE_TYPE (GESTrackSource, ges_track_source, GES_TYPE_TRACK_OBJECT);
 
+struct _GESTrackSourcePrivate
+{
+  /*  Dummy variable */
+  void *nothing;
+};
+
 static void
 ges_track_source_get_property (GObject * object, guint property_id,
     GValue * value, GParamSpec * pspec)
@@ -97,6 +103,8 @@ ges_track_source_class_init (GESTrackSourceClass * klass)
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
   GESTrackObjectClass *track_class = GES_TRACK_OBJECT_CLASS (klass);
 
+  g_type_class_add_private (klass, sizeof (GESTrackSourcePrivate));
+
   object_class->get_property = ges_track_source_get_property;
   object_class->set_property = ges_track_source_set_property;
   object_class->dispose = ges_track_source_dispose;
@@ -109,6 +117,8 @@ ges_track_source_class_init (GESTrackSourceClass * klass)
 static void
 ges_track_source_init (GESTrackSource * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TRACK_SOURCE, GESTrackSourcePrivate);
 }
 
 GESTrackSource *
index 15a4a2abaadfdd42d0d306356e7e7ba737b15d50..81bc781e89b4b00d5eaa70b8eda7582a29015928 100644 (file)
@@ -45,6 +45,8 @@ G_BEGIN_DECLS
 #define GES_TRACK_SOURCE_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_SOURCE, GESTrackSourceClass))
 
+typedef struct _GESTrackSourcePrivate GESTrackSourcePrivate;
+
 /**
  * GESTrackSource:
  * @parent: parent
@@ -59,6 +61,8 @@ struct _GESTrackSource {
   /*< private >*/
   GstElement *element;
 
+  GESTrackSourcePrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index f13b2b6ca00bba5b4e161dd569a7e0bdb7aa3872..553e8a01458a2e2a8dc1b72ed1d2f38de0d63e44 100644 (file)
 G_DEFINE_TYPE (GESTrackTextOverlay, ges_track_text_overlay,
     GES_TYPE_TRACK_OPERATION);
 
+struct _GESTrackTextOverlayPrivate
+{
+  /*  Dummy variable */
+  void *nothing;
+};
+
 enum
 {
   PROP_0,
@@ -57,6 +63,8 @@ ges_track_text_overlay_class_init (GESTrackTextOverlayClass * klass)
   GObjectClass *object_class;
   GESTrackOperationClass *bg_class;
 
+  g_type_class_add_private (klass, sizeof (GESTrackTextOverlayPrivate));
+
   object_class = G_OBJECT_CLASS (klass);
   bg_class = GES_TRACK_OPERATION_CLASS (klass);
 
@@ -71,6 +79,9 @@ ges_track_text_overlay_class_init (GESTrackTextOverlayClass * klass)
 static void
 ges_track_text_overlay_init (GESTrackTextOverlay * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TRACK_TEXT_OVERLAY, GESTrackTextOverlayPrivate);
+
   self->text = NULL;
   self->font_desc = NULL;
   self->text_el = NULL;
index 7e5a7ef6fc0e74e70fad17a5c871e785d7efba12..9dd8e97f16177c08f3c96a5c41acd9c10d1d8921 100644 (file)
@@ -45,6 +45,8 @@ G_BEGIN_DECLS
 #define GES_TRACK_TEXT_OVERLAY_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_TEXT_OVERLAY, GESTrackTextOverlayClass))
 
+typedef struct _GESTrackTextOverlayPrivate GESTrackTextOverlayPrivate;
+
 /** 
  * GESTrackTextOverlay:
  *
@@ -59,6 +61,8 @@ struct _GESTrackTextOverlay {
   GESTextVAlign valign;
   GstElement    *text_el;
 
+  GESTrackTextOverlayPrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index cf29b8c8d3ecd64415fa6639c46c5e07119f0547..e15cf0914aeff2207c09a20206337148a50fa559 100644 (file)
 
 G_DEFINE_TYPE (GESTrackTitleSource, ges_track_title_src, GES_TYPE_TRACK_SOURCE);
 
+struct _GESTrackTitleSourcePrivate
+{
+  /*  Dummy variable */
+  void *nothing;
+};
+
 enum
 {
   PROP_0,
@@ -54,6 +60,8 @@ ges_track_title_src_class_init (GESTrackTitleSourceClass * klass)
   GObjectClass *object_class;
   GESTrackSourceClass *bg_class;
 
+  g_type_class_add_private (klass, sizeof (GESTrackTitleSourcePrivate));
+
   object_class = G_OBJECT_CLASS (klass);
   bg_class = GES_TRACK_SOURCE_CLASS (klass);
 
@@ -68,6 +76,9 @@ ges_track_title_src_class_init (GESTrackTitleSourceClass * klass)
 static void
 ges_track_title_src_init (GESTrackTitleSource * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TRACK_TITLE_SOURCE, GESTrackTitleSourcePrivate);
+
   self->text = NULL;
   self->font_desc = NULL;
   self->text_el = NULL;
index fd12752828a483c2edf45e23e6cd9cb9300581f7..88afcbc77eefc7f2f8d5d1dd25346fb75f1027e8 100644 (file)
@@ -44,6 +44,8 @@ G_BEGIN_DECLS
 #define GES_TRACK_TITLE_SOURCE_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_TITLE_SOURCE, GESTrackTitleSourceClass))
 
+typedef struct _GESTrackTitleSourcePrivate GESTrackTitleSourcePrivate;
+
 /** 
  * GESTrackTitleSource:
  *
@@ -59,6 +61,8 @@ struct _GESTrackTitleSource {
   GstElement    *text_el;
   GstElement    *background_el;
 
+  GESTrackTitleSourcePrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index 079107b70db318ddeee0c1ad4559b582d23476eb..937591dc5ed4aa1665d5ebfd118b088eb462a344 100644 (file)
 
 G_DEFINE_TYPE (GESTrackTransition, ges_track_transition, GES_TYPE_TRACK_OBJECT);
 
+struct _GESTrackTransitionPrivate
+{
+  /*  Dummy variable */
+  void *nothing;
+};
+
 GstElement *ges_track_transition_create_element (GESTrackTransition * self);
 
 static void
@@ -106,6 +112,8 @@ ges_track_transition_class_init (GESTrackTransitionClass * klass)
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
   GESTrackObjectClass *track_class = GES_TRACK_OBJECT_CLASS (klass);
 
+  g_type_class_add_private (klass, sizeof (GESTrackTransitionPrivate));
+
   object_class->get_property = ges_track_transition_get_property;
   object_class->set_property = ges_track_transition_set_property;
   object_class->dispose = ges_track_transition_dispose;
@@ -118,4 +126,7 @@ ges_track_transition_class_init (GESTrackTransitionClass * klass)
 static void
 ges_track_transition_init (GESTrackTransition * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TRACK_TRANSITION, GESTrackTransitionPrivate);
+
 }
index 58b5503a324f66d35e0f2f9107bb6bac53996078..b95b6816f4e23b675b8feff18972a3cedb586ab9 100644 (file)
@@ -50,6 +50,8 @@ G_BEGIN_DECLS
     (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_TRANSITION,\
         GESTrackTransitionClass))
 
+typedef struct _GESTrackTransitionPrivate GESTrackTransitionPrivate;
+
 /**
  * GESTrackTransition:
  *
@@ -63,6 +65,8 @@ struct _GESTrackTransition
   GESTrackObject parent;
 
   /*< private >*/
+  GESTrackTransitionPrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index 74feb6831657209b1e4866fda3d13e89c54dbd90..9f54806e1159db0aed462ea6feb2ed2e81ad20ba 100644 (file)
 G_DEFINE_TYPE (GESTrackVideoTestSource, ges_track_video_test_source,
     GES_TYPE_TRACK_SOURCE);
 
+struct _GESTrackVideoTestSourcePrivate
+{
+  /*  Dummy variable */
+  void *nothing;
+};
+
 enum
 {
   PROP_0,
@@ -54,6 +60,8 @@ ges_track_video_test_source_class_init (GESTrackVideoTestSourceClass * klass)
   GObjectClass *object_class;
   GESTrackSourceClass *track_source_class;
 
+  g_type_class_add_private (klass, sizeof (GESTrackVideoTestSourcePrivate));
+
   object_class = G_OBJECT_CLASS (klass);
   track_source_class = GES_TRACK_SOURCE_CLASS (klass);
 
@@ -69,6 +77,9 @@ ges_track_video_test_source_class_init (GESTrackVideoTestSourceClass * klass)
 static void
 ges_track_video_test_source_init (GESTrackVideoTestSource * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TRACK_VIDEO_TEST_SOURCE, GESTrackVideoTestSourcePrivate);
+
   self->pattern = GES_VIDEO_TEST_PATTERN_BLACK;
 }
 
index 331a6c11b95af6025186293c4fb6153070075821..e787dd4b145f89c512e2d8ab78589cbb1864115b 100644 (file)
@@ -45,6 +45,8 @@ G_BEGIN_DECLS
 #define GES_TRACK_VIDEO_TEST_SOURCE_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_VIDEO_TEST_SOURCE, GESTrackVideoTestSourceClass))
 
+typedef struct _GESTrackVideoTestSourcePrivate GESTrackVideoTestSourcePrivate;
+
 /** 
  * GESTrackVideoTestSource:
  */
@@ -54,6 +56,8 @@ struct _GESTrackVideoTestSource {
   /*< private >*/
   GESVideoTestPattern pattern;
 
+  GESTrackVideoTestSourcePrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index b7d9e5a2ee087adb21ec19493f4e5021d43a90d9..12d4096dac97e7e8fe3778b66e2358708c96d595 100644 (file)
 G_DEFINE_TYPE (GESTrackVideoTransition, ges_track_video_transition,
     GES_TYPE_TRACK_TRANSITION);
 
+struct _GESTrackVideoTransitionPrivate
+{
+  /*  Dummy variable */
+  void *nothing;
+};
+
 enum
 {
   PROP_0,
@@ -69,6 +75,8 @@ ges_track_video_transition_class_init (GESTrackVideoTransitionClass * klass)
   GESTrackObjectClass *toclass;
   GESTrackTransitionClass *pclass;
 
+  g_type_class_add_private (klass, sizeof (GESTrackVideoTransitionPrivate));
+
   object_class = G_OBJECT_CLASS (klass);
   toclass = GES_TRACK_OBJECT_CLASS (klass);
   pclass = GES_TRACK_TRANSITION_CLASS (klass);
@@ -86,6 +94,9 @@ ges_track_video_transition_class_init (GESTrackVideoTransitionClass * klass)
 static void
 ges_track_video_transition_init (GESTrackVideoTransition * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TRACK_VIDEO_TRANSITION, GESTrackVideoTransitionPrivate);
+
   self->controller = NULL;
   self->control_source = NULL;
   self->smpte = NULL;
index dea060db43d2f79c34b49ebb1bdf15901ce47a04..ec67d9bf23240b9577735b5d13406d23da06d156 100644 (file)
@@ -44,6 +44,8 @@ G_BEGIN_DECLS
 #define GES_TRACK_VIDEO_TRANSITION_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_VIDEO_TRANSITION, GESTrackVideoTransitionClass))
 
+typedef struct _GESTrackVideoTransitionPrivate GESTrackVideoTransitionPrivate;
+
 /** 
  * GESTrackVideoTransition:
  */
@@ -69,6 +71,8 @@ struct _GESTrackVideoTransition {
   gdouble                       start_value;
   gdouble                       end_value;
 
+  GESTrackVideoTransitionPrivate *priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };
index 0c5c79ed6de53ce6b3ae162a3bb3296d0a34823b..941c2e063f1d137ddd67e4a87c47d39490883419 100644 (file)
 
 G_DEFINE_TYPE (GESTrack, ges_track, GST_TYPE_BIN);
 
+struct _GESTrackPrivate
+{
+  /* Dummy variable */
+  void *nothing;
+};
+
 enum
 {
   ARG_0,
@@ -118,6 +124,8 @@ ges_track_class_init (GESTrackClass * klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
+  g_type_class_add_private (klass, sizeof (GESTrackPrivate));
+
   object_class->get_property = ges_track_get_property;
   object_class->set_property = ges_track_set_property;
   object_class->dispose = ges_track_dispose;
@@ -156,6 +164,9 @@ ges_track_class_init (GESTrackClass * klass)
 static void
 ges_track_init (GESTrack * self)
 {
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+      GES_TYPE_TRACK, GESTrackPrivate);
+
   self->composition = gst_element_factory_make ("gnlcomposition", NULL);
 
   g_signal_connect (self->composition, "pad-added", (GCallback) pad_added_cb,
index 4bd36873cd65a2bc868d0e9d7a5b4a520e6755cc..0953d6bed990f335d6c1b64d5a112fe06b0917ae 100644 (file)
@@ -45,6 +45,8 @@ G_BEGIN_DECLS
 #define GES_TRACK_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK, GESTrackClass))
 
+typedef struct _GESTrackPrivate GESTrackPrivate;
+
 /**
  * GESTrack:
  * @type: a #GESTrackType indicting the basic type of the track.
@@ -67,6 +69,8 @@ struct _GESTrack {
   GstElement * composition;    /* The composition associated with this track */
   GstPad * srcpad;             /* The source GhostPad */
 
+  GESTrackPrivate * priv;
+
   /* Padding for API extension */
   gpointer _ges_reserved[GES_PADDING];
 };