ges: Remove unused GObject vmethods
authorEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 9 Dec 2010 14:12:34 +0000 (15:12 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 9 Dec 2010 14:12:34 +0000 (15:12 +0100)
20 files changed:
ges/ges-custom-timeline-source.c
ges/ges-keyfile-formatter.c
ges/ges-simple-timeline-layer.c
ges/ges-timeline-file-source.c
ges/ges-timeline-layer.c
ges/ges-timeline-object.c
ges/ges-timeline-overlay.c
ges/ges-timeline-source.c
ges/ges-timeline-test-source.c
ges/ges-timeline-text-overlay.c
ges/ges-timeline-title-source.c
ges/ges-timeline-transition.c
ges/ges-track-audio-test-source.c
ges/ges-track-filesource.c
ges/ges-track-image-source.c
ges/ges-track-operation.c
ges/ges-track-source.c
ges/ges-track-title-source.c
ges/ges-track-transition.c
ges/ges-track-video-test-source.c

index e69dba47927c90649339f29556e796ca110b3a09..a6b25e1a15f48025984601baf970e1b6970cdf29 100644 (file)
@@ -46,26 +46,6 @@ static gboolean
 ges_cust_timeline_src_fill_track_object (GESTimelineObject * object,
     GESTrackObject * trobject, GstElement * gnlobj);
 
-static void
-ges_cust_timeline_src_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);
-  }
-}
-
-static void
-ges_cust_timeline_src_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);
-  }
-}
-
 static GESTrackObject *
 ges_cust_timeline_src_create_track_object (GESTimelineObject * obj,
     GESTrack * track)
@@ -73,31 +53,13 @@ ges_cust_timeline_src_create_track_object (GESTimelineObject * obj,
   return g_object_new (GES_TYPE_TRACK_SOURCE, NULL);
 }
 
-static void
-ges_cust_timeline_src_dispose (GObject * object)
-{
-  G_OBJECT_CLASS (ges_cust_timeline_src_parent_class)->dispose (object);
-}
-
-static void
-ges_cust_timeline_src_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_cust_timeline_src_parent_class)->finalize (object);
-}
-
 static void
 ges_cust_timeline_src_class_init (GESCustomTimelineSourceClass * klass)
 {
-  GObjectClass *object_class = G_OBJECT_CLASS (klass);
   GESTimelineObjectClass *tlobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
 
   g_type_class_add_private (klass, sizeof (GESCustomTimelineSourcePrivate));
 
-  object_class->get_property = ges_cust_timeline_src_get_property;
-  object_class->set_property = ges_cust_timeline_src_set_property;
-  object_class->dispose = ges_cust_timeline_src_dispose;
-  object_class->finalize = ges_cust_timeline_src_finalize;
-
   tlobj_class->fill_track_object = ges_cust_timeline_src_fill_track_object;
   tlobj_class->create_track_object = ges_cust_timeline_src_create_track_object;
 }
index f26f43593686db94c95691ff9a37b44d97202fae..e6876921034220dff68b2887205d0700d6ac83d9 100644 (file)
@@ -30,9 +30,6 @@
 
 G_DEFINE_TYPE (GESKeyfileFormatter, ges_keyfile_formatter, GES_TYPE_FORMATTER);
 
-static void ges_keyfile_formatter_dispose (GObject * object);
-static void ges_keyfile_formatter_finalize (GObject * object);
-
 /* for ini format */
 static gboolean save_keyfile (GESFormatter * keyfile_formatter,
     GESTimeline * timeline);
@@ -43,14 +40,9 @@ static void
 ges_keyfile_formatter_class_init (GESKeyfileFormatterClass * klass)
 {
   GESFormatterClass *formatter_klass;
-  GObjectClass *object_class;
 
-  object_class = G_OBJECT_CLASS (klass);
   formatter_klass = GES_FORMATTER_CLASS (klass);
 
-  object_class->dispose = ges_keyfile_formatter_dispose;
-  object_class->finalize = ges_keyfile_formatter_finalize;
-
   formatter_klass->save = save_keyfile;
   formatter_klass->load = load_keyfile;
 }
@@ -60,17 +52,6 @@ ges_keyfile_formatter_init (GESKeyfileFormatter * object)
 {
 }
 
-static void
-ges_keyfile_formatter_dispose (GObject * object)
-{
-  G_OBJECT_CLASS (ges_keyfile_formatter_parent_class)->dispose (object);
-}
-
-static void
-ges_keyfile_formatter_finalize (GObject * keyfile_formatter)
-{
-}
-
 GESKeyfileFormatter *
 ges_keyfile_formatter_new (void)
 {
index 9f5c1f9cb572fdbae4a13e29f5e38c4448dc610f..d7283d2dea417874c92180603f8c9bc2b6bc0eb4 100644 (file)
@@ -107,18 +107,6 @@ ges_simple_timeline_layer_set_property (GObject * object, guint property_id,
   }
 }
 
-static void
-ges_simple_timeline_layer_dispose (GObject * object)
-{
-  G_OBJECT_CLASS (ges_simple_timeline_layer_parent_class)->dispose (object);
-}
-
-static void
-ges_simple_timeline_layer_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_simple_timeline_layer_parent_class)->finalize (object);
-}
-
 static void
 ges_simple_timeline_layer_class_init (GESSimpleTimelineLayerClass * klass)
 {
@@ -129,8 +117,6 @@ ges_simple_timeline_layer_class_init (GESSimpleTimelineLayerClass * klass)
 
   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;
-  object_class->finalize = ges_simple_timeline_layer_finalize;
 
   /* Be informed when objects are being added/removed from elsewhere */
   layer_class->object_removed = ges_simple_timeline_layer_object_removed;
index f69d31433b4d5b042c14dc8965a1f345eb53d54c..169faaa5c207ea0efd4760d5f1eb03def6ae3a72 100644 (file)
@@ -110,12 +110,6 @@ ges_tl_filesource_set_property (GObject * object, guint property_id,
   }
 }
 
-static void
-ges_tl_filesource_dispose (GObject * object)
-{
-  G_OBJECT_CLASS (ges_tl_filesource_parent_class)->dispose (object);
-}
-
 static void
 ges_tl_filesource_finalize (GObject * object)
 {
@@ -134,7 +128,6 @@ ges_tl_filesource_class_init (GESTimelineFileSourceClass * klass)
 
   object_class->get_property = ges_tl_filesource_get_property;
   object_class->set_property = ges_tl_filesource_set_property;
-  object_class->dispose = ges_tl_filesource_dispose;
   object_class->finalize = ges_tl_filesource_finalize;
 
 
index 4a7f681490007a15e53f1668e88e98dd695f7603..f7d0c73b3833b63975e15fada4956906f876f231 100644 (file)
@@ -103,12 +103,6 @@ ges_timeline_layer_dispose (GObject * object)
   G_OBJECT_CLASS (ges_timeline_layer_parent_class)->dispose (object);
 }
 
-static void
-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)
 {
@@ -119,7 +113,6 @@ ges_timeline_layer_class_init (GESTimelineLayerClass * klass)
   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;
-  object_class->finalize = ges_timeline_layer_finalize;
 
   /**
    * GESTimelineLayer:priority
index 1c124358ac3214364208387c7b61c3d7222f73bf..21be72da72b05e0f0743879994dcf60b84da2f93 100644 (file)
@@ -123,18 +123,6 @@ ges_timeline_object_set_property (GObject * object, guint property_id,
   }
 }
 
-static void
-ges_timeline_object_dispose (GObject * object)
-{
-  G_OBJECT_CLASS (ges_timeline_object_parent_class)->dispose (object);
-}
-
-static void
-ges_timeline_object_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_timeline_object_parent_class)->finalize (object);
-}
-
 static void
 ges_timeline_object_class_init (GESTimelineObjectClass * klass)
 {
@@ -144,8 +132,6 @@ ges_timeline_object_class_init (GESTimelineObjectClass * klass)
 
   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;
-  object_class->finalize = ges_timeline_object_finalize;
   klass->create_track_objects = ges_timeline_object_create_track_objects_func;
 
   /**
index 09b4dab505f775fded6b4b514d6f47855928d858..1b9d7bfa103f495c956e4c6ad2114d055c377c86 100644 (file)
@@ -43,49 +43,10 @@ struct _GESTimelineOverlayPrivate
   void *nothing;
 };
 
-static void
-ges_timeline_overlay_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);
-  }
-}
-
-static void
-ges_timeline_overlay_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);
-  }
-}
-
-static void
-ges_timeline_overlay_dispose (GObject * object)
-{
-  G_OBJECT_CLASS (ges_timeline_overlay_parent_class)->dispose (object);
-}
-
-static void
-ges_timeline_overlay_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_timeline_overlay_parent_class)->finalize (object);
-}
-
 static void
 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;
-  object_class->finalize = ges_timeline_overlay_finalize;
 }
 
 static void
index 788e268da4b856d63537bcac328cfe5809e82783..cec8f8fc0743a265ac3aefe3529716aac77adde6 100644 (file)
@@ -117,12 +117,6 @@ ges_timeline_source_set_property (GObject * object, guint property_id,
   }
 }
 
-static void
-ges_timeline_source_dispose (GObject * object)
-{
-  G_OBJECT_CLASS (ges_timeline_source_parent_class)->dispose (object);
-}
-
 static void
 ges_timeline_source_finalize (GObject * object)
 {
@@ -146,7 +140,6 @@ ges_timeline_source_class_init (GESTimelineSourceClass * klass)
 
   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;
   object_class->finalize = ges_timeline_source_finalize;
 
   /**
index 7b488f39bd5fe822f886c9bcd73aa391e84a222b..92e342694889d3eaca2517375b0cd4df50ae1bda 100644 (file)
@@ -119,18 +119,6 @@ ges_timeline_test_source_set_property (GObject * object, guint property_id,
   }
 }
 
-static void
-ges_timeline_test_source_dispose (GObject * object)
-{
-  G_OBJECT_CLASS (ges_timeline_test_source_parent_class)->dispose (object);
-}
-
-static void
-ges_timeline_test_source_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_timeline_test_source_parent_class)->finalize (object);
-}
-
 static void
 ges_timeline_test_source_class_init (GESTimelineTestSourceClass * klass)
 {
@@ -141,8 +129,6 @@ ges_timeline_test_source_class_init (GESTimelineTestSourceClass * klass)
 
   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;
-  object_class->finalize = ges_timeline_test_source_finalize;
 
   /**
    * GESTimelineTestSource:vpattern:
index a95adae5ae5d4fe3403f6d2fbcfa736adb3e202f..ebd442150c29d1b2579a53c6f5baf687e855583e 100644 (file)
@@ -137,12 +137,6 @@ ges_tl_text_overlay_dispose (GObject * object)
   G_OBJECT_CLASS (ges_tl_text_overlay_parent_class)->dispose (object);
 }
 
-static void
-ges_tl_text_overlay_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_tl_text_overlay_parent_class)->finalize (object);
-}
-
 static void
 ges_tl_text_overlay_class_init (GESTimelineTextOverlayClass * klass)
 {
@@ -154,7 +148,6 @@ ges_tl_text_overlay_class_init (GESTimelineTextOverlayClass * klass)
   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;
-  object_class->finalize = ges_tl_text_overlay_finalize;
 
   /**
    * GESTimelineTextOverlay:text
index 798f114cb114a19c4d0d9cb76fad014eaa5eea1b..3bb811ec2656e46a8453d0ab4601ee532e2b94cb 100644 (file)
@@ -148,12 +148,6 @@ ges_tl_title_src_dispose (GObject * object)
   G_OBJECT_CLASS (ges_tl_title_src_parent_class)->dispose (object);
 }
 
-static void
-ges_tl_title_src_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_tl_title_src_parent_class)->finalize (object);
-}
-
 static void
 ges_tl_title_src_class_init (GESTimelineTitleSourceClass * klass)
 {
@@ -165,7 +159,6 @@ ges_tl_title_src_class_init (GESTimelineTitleSourceClass * klass)
   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;
-  object_class->finalize = ges_tl_title_src_finalize;
 
   /**
    * GESTimelineTitleSource:text:
index 650acc4cb9816cf70cedd1761edeb8a01134eb31..201e23bc751dd74429729661cb0223e4ab147168 100644 (file)
@@ -113,18 +113,6 @@ ges_timeline_transition_set_property (GObject * object, guint property_id,
   }
 }
 
-static void
-ges_timeline_transition_dispose (GObject * object)
-{
-  G_OBJECT_CLASS (ges_timeline_transition_parent_class)->dispose (object);
-}
-
-static void
-ges_timeline_transition_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_timeline_transition_parent_class)->finalize (object);
-}
-
 static void
 ges_timeline_transition_class_init (GESTimelineTransitionClass * klass)
 {
@@ -135,8 +123,6 @@ ges_timeline_transition_class_init (GESTimelineTransitionClass * klass)
 
   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;
-  object_class->finalize = ges_timeline_transition_finalize;
 
   /**
    * GESTimelineTransition:vtype
index 5c0e6f9ccaa5ba6644862b630af57f57212fe60e..324e13cd5e6f1459156eaf18be6498d6a2b81d32 100644 (file)
@@ -45,10 +45,6 @@ enum
   PROP_0,
 };
 
-static void ges_track_audio_test_source_dispose (GObject * object);
-
-static void ges_track_audio_test_source_finalize (GObject * object);
-
 static void ges_track_audio_test_source_get_property (GObject * object, guint
     property_id, GValue * value, GParamSpec * pspec);
 
@@ -71,8 +67,6 @@ ges_track_audio_test_source_class_init (GESTrackAudioTestSourceClass * klass)
 
   object_class->get_property = ges_track_audio_test_source_get_property;
   object_class->set_property = ges_track_audio_test_source_set_property;
-  object_class->dispose = ges_track_audio_test_source_dispose;
-  object_class->finalize = ges_track_audio_test_source_finalize;
 
   bg_class->create_element = ges_track_audio_test_source_create_element;
 }
@@ -87,18 +81,6 @@ ges_track_audio_test_source_init (GESTrackAudioTestSource * self)
   self->volume = 0;
 }
 
-static void
-ges_track_audio_test_source_dispose (GObject * object)
-{
-  G_OBJECT_CLASS (ges_track_audio_test_source_parent_class)->dispose (object);
-}
-
-static void
-ges_track_audio_test_source_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_track_audio_test_source_parent_class)->finalize (object);
-}
-
 static void
 ges_track_audio_test_source_get_property (GObject * object,
     guint property_id, GValue * value, GParamSpec * pspec)
index cb7f45a0b6d36166b6f46a2d5d3135c6f71077e2..602e9431f7a30018ff3a2323852179c3007f3697 100644 (file)
@@ -85,12 +85,6 @@ ges_track_filesource_dispose (GObject * object)
   G_OBJECT_CLASS (ges_track_filesource_parent_class)->dispose (object);
 }
 
-static void
-ges_track_filesource_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_track_filesource_parent_class)->finalize (object);
-}
-
 static gboolean
 ges_track_filesource_create_gnl_object (GESTrackObject * object)
 {
@@ -112,7 +106,6 @@ ges_track_filesource_class_init (GESTrackFileSourceClass * klass)
   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;
-  object_class->finalize = ges_track_filesource_finalize;
 
   /**
    * GESTrackFileSource:uri
index 1cabba485347d57e93bf36e8b658c8fef8888151..c91390c714deab68352716d7fb03a114fb00d27b 100644 (file)
@@ -88,12 +88,6 @@ ges_track_image_source_dispose (GObject * object)
   G_OBJECT_CLASS (ges_track_image_source_parent_class)->dispose (object);
 }
 
-static void
-ges_track_image_source_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_track_image_source_parent_class)->finalize (object);
-}
-
 static void
 pad_added_cb (GstElement * timeline, GstPad * pad, GstElement * scale)
 {
@@ -164,7 +158,6 @@ ges_track_image_source_class_init (GESTrackImageSourceClass * klass)
   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;
-  object_class->finalize = ges_track_image_source_finalize;
 
   /**
    * GESTrackImageSource:uri
index d010d89ec4f84faca4d359abf6a40f7e6bd36cfd..ca2c963515aa889b7783a3e382a2d92eb320dc7c 100644 (file)
@@ -35,38 +35,6 @@ struct _GESTrackOperationPrivate
   void *nothing;
 };
 
-static void
-ges_track_operation_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);
-  }
-}
-
-static void
-ges_track_operation_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);
-  }
-}
-
-static void
-ges_track_operation_dispose (GObject * object)
-{
-  G_OBJECT_CLASS (ges_track_operation_parent_class)->dispose (object);
-}
-
-static void
-ges_track_operation_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_track_operation_parent_class)->finalize (object);
-}
-
 static gboolean
 ges_track_operation_create_gnl_object (GESTrackObject * object)
 {
@@ -100,16 +68,10 @@ ges_track_operation_create_gnl_object (GESTrackObject * object)
 static void
 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;
-  object_class->finalize = ges_track_operation_finalize;
-
   track_class->create_gnl_object = ges_track_operation_create_gnl_object;
   klass->create_element = NULL;
 }
index 1d9f11ecfe1cbe3508fd779be8d0c12a7d9caa1b..bc111cb510c9f738d389a7c0dd2718d6826d1af1 100644 (file)
@@ -35,38 +35,6 @@ struct _GESTrackSourcePrivate
   void *nothing;
 };
 
-static void
-ges_track_source_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);
-  }
-}
-
-static void
-ges_track_source_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);
-  }
-}
-
-static void
-ges_track_source_dispose (GObject * object)
-{
-  G_OBJECT_CLASS (ges_track_source_parent_class)->dispose (object);
-}
-
-static void
-ges_track_source_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_track_source_parent_class)->finalize (object);
-}
-
 static gboolean
 ges_track_source_create_gnl_object (GESTrackObject * object)
 {
@@ -100,16 +68,10 @@ ges_track_source_create_gnl_object (GESTrackObject * object)
 static void
 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;
-  object_class->finalize = ges_track_source_finalize;
-
   track_class->create_gnl_object = ges_track_source_create_gnl_object;
   klass->create_element = NULL;
 }
index e15cf0914aeff2207c09a20206337148a50fa559..b413f77b1490ba4d6ed3020ed38c7c9d44650206 100644 (file)
@@ -44,8 +44,6 @@ enum
 
 static void ges_track_title_src_dispose (GObject * object);
 
-static void ges_track_title_src_finalize (GObject * object);
-
 static void ges_track_title_src_get_property (GObject * object, guint
     property_id, GValue * value, GParamSpec * pspec);
 
@@ -68,7 +66,6 @@ ges_track_title_src_class_init (GESTrackTitleSourceClass * klass)
   object_class->get_property = ges_track_title_src_get_property;
   object_class->set_property = ges_track_title_src_set_property;
   object_class->dispose = ges_track_title_src_dispose;
-  object_class->finalize = ges_track_title_src_finalize;
 
   bg_class->create_element = ges_track_title_src_create_element;
 }
@@ -112,12 +109,6 @@ ges_track_title_src_dispose (GObject * object)
   G_OBJECT_CLASS (ges_track_title_src_parent_class)->dispose (object);
 }
 
-static void
-ges_track_title_src_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_track_title_src_parent_class)->finalize (object);
-}
-
 static void
 ges_track_title_src_get_property (GObject * object,
     guint property_id, GValue * value, GParamSpec * pspec)
index 937591dc5ed4aa1665d5ebfd118b088eb462a344..84eaa0e526fc4ab71bc403726f28aacb5e8b6ee3 100644 (file)
@@ -39,38 +39,6 @@ struct _GESTrackTransitionPrivate
 
 GstElement *ges_track_transition_create_element (GESTrackTransition * self);
 
-static void
-ges_track_transition_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);
-  }
-}
-
-static void
-ges_track_transition_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);
-  }
-}
-
-static void
-ges_track_transition_dispose (GObject * object)
-{
-  G_OBJECT_CLASS (ges_track_transition_parent_class)->dispose (object);
-}
-
-static void
-ges_track_transition_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_track_transition_parent_class)->finalize (object);
-}
-
 static gboolean
 ges_track_transition_create_gnl_object (GESTrackObject * object)
 {
@@ -109,16 +77,10 @@ ges_track_transition_create_element (GESTrackTransition * self)
 static void
 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;
-  object_class->finalize = ges_track_transition_finalize;
-
   track_class->create_gnl_object = ges_track_transition_create_gnl_object;
   klass->create_element = ges_track_transition_create_element;
 }
index 9f54806e1159db0aed462ea6feb2ed2e81ad20ba..8c700d077039fed9b250a7bc0111ab87a9ffb0d1 100644 (file)
@@ -36,40 +36,18 @@ struct _GESTrackVideoTestSourcePrivate
   void *nothing;
 };
 
-enum
-{
-  PROP_0,
-};
-
-static void ges_track_video_test_source_dispose (GObject * object);
-
-static void ges_track_video_test_source_finalize (GObject * object);
-
-static void ges_track_video_test_source_get_property (GObject * object, guint
-    property_id, GValue * value, GParamSpec * pspec);
-
-static void ges_track_video_test_source_set_property (GObject * object, guint
-    property_id, const GValue * value, GParamSpec * pspec);
-
 static GstElement *ges_track_video_test_source_create_element (GESTrackSource *
     self);
 
 static void
 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);
 
-  object_class->get_property = ges_track_video_test_source_get_property;
-  object_class->set_property = ges_track_video_test_source_set_property;
-  object_class->dispose = ges_track_video_test_source_dispose;
-  object_class->finalize = ges_track_video_test_source_finalize;
-
   track_source_class->create_element =
       ges_track_video_test_source_create_element;
 }
@@ -83,38 +61,6 @@ ges_track_video_test_source_init (GESTrackVideoTestSource * self)
   self->pattern = GES_VIDEO_TEST_PATTERN_BLACK;
 }
 
-static void
-ges_track_video_test_source_dispose (GObject * object)
-{
-  G_OBJECT_CLASS (ges_track_video_test_source_parent_class)->dispose (object);
-}
-
-static void
-ges_track_video_test_source_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ges_track_video_test_source_parent_class)->finalize (object);
-}
-
-static void
-ges_track_video_test_source_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);
-  }
-}
-
-static void
-ges_track_video_test_source_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);
-  }
-}
-
 static GstElement *
 ges_track_video_test_source_create_element (GESTrackSource * self)
 {