osxaudio: remove unused finalize
authorIlya Konstantinov <ilya.konstantinov@gmail.com>
Mon, 9 Mar 2015 20:30:28 +0000 (22:30 +0200)
committerArun Raghavan <git@arunraghavan.net>
Tue, 10 Mar 2015 03:44:57 +0000 (09:14 +0530)
sys/osxaudio/gstosxaudioringbuffer.c

index e191910ef2288eaaf71457f1cef662efa1e8a090..7c8c92a0247b619b7fbc63ea9e21c81cd91b5b8f 100644 (file)
@@ -61,7 +61,6 @@ GST_DEBUG_CATEGORY_STATIC (osx_audio_debug);
 #include "gstosxcoreaudio.h"
 
 static void gst_osx_audio_ring_buffer_dispose (GObject * object);
-static void gst_osx_audio_ring_buffer_finalize (GObject * object);
 static gboolean gst_osx_audio_ring_buffer_open_device (GstAudioRingBuffer *
     buf);
 static gboolean gst_osx_audio_ring_buffer_close_device (GstAudioRingBuffer *
@@ -95,7 +94,6 @@ gst_osx_audio_ring_buffer_class_init (GstOsxAudioRingBufferClass * klass)
   ring_parent_class = g_type_class_peek_parent (klass);
 
   gobject_class->dispose = gst_osx_audio_ring_buffer_dispose;
-  gobject_class->finalize = gst_osx_audio_ring_buffer_finalize;
 
   gstringbuffer_class->open_device =
       GST_DEBUG_FUNCPTR (gst_osx_audio_ring_buffer_open_device);
@@ -139,12 +137,6 @@ gst_osx_audio_ring_buffer_dispose (GObject * object)
   G_OBJECT_CLASS (ring_parent_class)->dispose (object);
 }
 
-static void
-gst_osx_audio_ring_buffer_finalize (GObject * object)
-{
-  G_OBJECT_CLASS (ring_parent_class)->finalize (object);
-}
-
 static gboolean
 gst_osx_audio_ring_buffer_open_device (GstAudioRingBuffer * buf)
 {