ges: Remove unused private structures. We'll re-add on a per-case basis.
authorEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 6 Aug 2009 17:59:25 +0000 (19:59 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 6 Aug 2009 17:59:25 +0000 (19:59 +0200)
ges/ges-simple-timeline-layer.c
ges/ges-timeline-layer.c
ges/ges-timeline-object.c
ges/ges-timeline-pipeline.c
ges/ges-timeline-source.c
ges/ges-timeline-transition.c
ges/ges-timeline.c
ges/ges-track-object.c
ges/ges-track.c

index e7f8da7e0db2b803102fd4cb3c8795c73fdb14ec..bca635bc564757b695729250167f7479ccb2e946 100644 (file)
 G_DEFINE_TYPE (GESSimpleTimelineLayer, ges_simple_timeline_layer,
     GES_TYPE_TIMELINE_LAYER);
 
-#define GET_PRIVATE(o) \
-  (G_TYPE_INSTANCE_GET_PRIVATE ((o), GES_TYPE_SIMPLE_TIMELINE_LAYER, GESSimpleTimelineLayerPrivate));
-
-typedef struct _GESSimpleTimelineLayerPrivate GESSimpleTimelineLayerPrivate;
-
-struct _GESSimpleTimelineLayerPrivate
-{
-  int dummy;
-};
-
 static void
 ges_simple_timeline_layer_get_property (GObject * object,
     guint property_id, GValue * value, GParamSpec * pspec)
@@ -70,8 +60,6 @@ ges_simple_timeline_layer_class_init (GESSimpleTimelineLayerClass * klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-  g_type_class_add_private (klass, sizeof (GESSimpleTimelineLayerPrivate));
-
   object_class->get_property = ges_simple_timeline_layer_get_property;
   object_class->set_property = ges_simple_timeline_layer_set_property;
   object_class->dispose = ges_simple_timeline_layer_dispose;
index 1e03ce94c30768ce046ed146f1a3ad2be395e313..7f4ee82765d5d0030631d7d51b8461919dfefe16 100644 (file)
 
 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;
-
-struct _GESTimelineLayerPrivate
-{
-  int dummy;
-};
-
 enum
 {
   OBJECT_ADDED,
@@ -86,8 +76,6 @@ 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;
index 20c83a389201e7db6b170b7999744e9a5ed96232..367f222ea0f7f8fda30af2ffd582c60ca37227db 100644 (file)
 
 G_DEFINE_TYPE (GESTimelineObject, ges_timeline_object, G_TYPE_OBJECT);
 
-#define GET_PRIVATE(o) \
-  (G_TYPE_INSTANCE_GET_PRIVATE ((o), GES_TYPE_TIMELINE_OBJECT, GESTimelineObjectPrivate));
-
-typedef struct _GESTimelineObjectPrivate GESTimelineObjectPrivate;
-
-struct _GESTimelineObjectPrivate
-{
-  int dummy;
-};
-
 static void
 ges_timeline_object_get_property (GObject * object, guint property_id,
     GValue * value, GParamSpec * pspec)
@@ -79,8 +69,6 @@ ges_timeline_object_class_init (GESTimelineObjectClass * klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-  g_type_class_add_private (klass, sizeof (GESTimelineObjectPrivate));
-
   object_class->get_property = ges_timeline_object_get_property;
   object_class->set_property = ges_timeline_object_set_property;
   object_class->dispose = ges_timeline_object_dispose;
index a39d06808b59dfa78688de08edac4eb87973a8c5..4ede1a0433f0010101e159e54076a573db80302a 100644 (file)
 
 G_DEFINE_TYPE (GESTimelinePipeline, ges_timeline_pipeline, GST_TYPE_PIPELINE);
 
-#define GET_PRIVATE(o) \
-  (G_TYPE_INSTANCE_GET_PRIVATE ((o), GEST_TYPE_TIMELINE_PIPELINE, GESTimelinePipelinePrivate));
-
-typedef struct _GESTimelinePipelinePrivate GESTimelinePipelinePrivate;
-
-struct _GESTimelinePipelinePrivate
-{
-  int dummy;
-};
-
 static void
 ges_timeline_pipeline_get_property (GObject * object,
     guint property_id, GValue * value, GParamSpec * pspec)
@@ -73,8 +63,6 @@ ges_timeline_pipeline_class_init (GESTimelinePipelineClass * klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-  g_type_class_add_private (klass, sizeof (GESTimelinePipelinePrivate));
-
   object_class->get_property = ges_timeline_pipeline_get_property;
   object_class->set_property = ges_timeline_pipeline_set_property;
   object_class->dispose = ges_timeline_pipeline_dispose;
index 2451c9b191ee146eafe7be067cdfe2f0b7fcf121..8d0e115c50b15ab638f9de4670dea512e827d104 100644 (file)
 G_DEFINE_TYPE (GESTimelineSource, ges_timeline_source,
     GES_TYPE_TIMELINE_OBJECT);
 
-#define GET_PRIVATE(o) \
-  (G_TYPE_INSTANCE_GET_PRIVATE ((o), GES_TYPE_TIMELINE_SOURCE, GESTimelineSourcePrivate));
-
-typedef struct _GESTimelineSourcePrivate GESTimelineSourcePrivate;
-
-struct _GESTimelineSourcePrivate
-{
-  int dummy;
-};
-
 static void
 ges_timeline_source_get_property (GObject * object, guint property_id,
     GValue * value, GParamSpec * pspec)
@@ -71,8 +61,6 @@ ges_timeline_source_class_init (GESTimelineSourceClass * klass)
 {
   GObjectClass *object_class = G_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;
index ee8984a20af879ae23a8147717e238f3a3713bd3..a9277047fb7d53c609d7cd90708c36f597f77e0a 100644 (file)
 G_DEFINE_TYPE (GESTimelineTransition, ges_timeline_transition,
     GES_TYPE_TIMELINE_OBJECT);
 
-#define GET_PRIVATE(o) \
-  (G_TYPE_INSTANCE_GET_PRIVATE ((o), GES_TYPE_TIMELINE_TRANSITION, GESTimelineTransitionPrivate));
-
-typedef struct _GESTimelineTransitionPrivate GESTimelineTransitionPrivate;
-
-struct _GESTimelineTransitionPrivate
-{
-  int dummy;
-};
-
 static void
 ges_timeline_transition_get_property (GObject * object,
     guint property_id, GValue * value, GParamSpec * pspec)
@@ -70,8 +60,6 @@ ges_timeline_transition_class_init (GESTimelineTransitionClass * klass)
 {
   GObjectClass *object_class = G_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;
index 6513c4a2c8cdefcf4f0b74dee6d47fc1cc6e2212..981f4a9b9e49e1f268cbb1143e5ca2b3f0828131 100644 (file)
 
 G_DEFINE_TYPE (GESTimeline, ges_timeline, GST_TYPE_BIN);
 
-#define GET_PRIVATE(o) \
-  (G_TYPE_INSTANCE_GET_PRIVATE ((o), GES_TYPE_TIMELINE, GESTimelinePrivate));
-
-typedef struct _GESTimelinePrivate GESTimelinePrivate;
-
-struct _GESTimelinePrivate
-{
-
-};
 
 enum
 {
@@ -94,8 +85,6 @@ ges_timeline_class_init (GESTimelineClass * klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-  g_type_class_add_private (klass, sizeof (GESTimelinePrivate));
-
   object_class->get_property = ges_timeline_get_property;
   object_class->set_property = ges_timeline_set_property;
   object_class->dispose = ges_timeline_dispose;
index 614685188d462966b2651a3c5f47d4db58f830b9..ad3b4caa3569c3fab3e46a0b3620d961e32b2442 100644 (file)
@@ -37,9 +37,6 @@ static GQuark _priority_quark;
 G_DEFINE_TYPE_WITH_CODE (GESTrackObject, ges_track_object, G_TYPE_OBJECT,
     _do_init);
 
-#define GET_PRIVATE(o) \
-  (G_TYPE_INSTANCE_GET_PRIVATE ((o), GES_TYPE_TRACK_OBJECT, GESTrackObjectPrivate));
-
 enum
 {
   PROP_0,
@@ -49,13 +46,6 @@ enum
   PROP_PRIORITY,
 };
 
-typedef struct _GESTrackObjectPrivate GESTrackObjectPrivate;
-
-struct _GESTrackObjectPrivate
-{
-  int dummy;
-};
-
 static gboolean
 ges_track_object_create_gnl_object_func (GESTrackObject * object);
 
@@ -124,8 +114,6 @@ 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;
index 4b89a2512069c0711f36f884de3a40c784f62500..7cf1a9e5dc2971ff01cc14cff044f4dbfac2e4fe 100644 (file)
 
 G_DEFINE_TYPE (GESTrack, ges_track, GST_TYPE_BIN);
 
-#define GET_PRIVATE(o)                                                 \
-  (G_TYPE_INSTANCE_GET_PRIVATE ((o), GES_TYPE_TRACK, GESTrackPrivate));
-
-typedef struct _GESTrackPrivate GESTrackPrivate;
-
-struct _GESTrackPrivate
-{
-  int dummy;
-};
-
 static void
 ges_track_get_property (GObject * object, guint property_id,
     GValue * value, GParamSpec * pspec)
@@ -78,8 +68,6 @@ 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;