diff options
author | Stefan Kost <ensonic@users.sf.net> | 2010-04-27 11:21:16 +0300 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-01-02 14:30:08 +0000 |
commit | 3153aa995f2fe2555f9b7e73ddfbce4005f3c131 (patch) | |
tree | d5686d7a54c88b5d8fa94eb2c017ac1bc74e880b | |
parent | 2b7ca1413a244fab1e73dd65403ce449aa2f6cf7 (diff) |
jack: remove empty dispose and finalize methods
-rw-r--r-- | ext/jack/gstjackaudiosink.c | 19 | ||||
-rw-r--r-- | ext/jack/gstjackaudiosrc.c | 17 | ||||
-rw-r--r-- | ext/jack/gstjackringbuffer.h | 2 |
3 files changed, 0 insertions, 38 deletions
diff --git a/ext/jack/gstjackaudiosink.c b/ext/jack/gstjackaudiosink.c index 3b9df0195..ed11ca2d3 100644 --- a/ext/jack/gstjackaudiosink.c +++ b/ext/jack/gstjackaudiosink.c @@ -160,9 +160,6 @@ gst_jack_ring_buffer_class_init (GstJackRingBufferClass * klass) ring_parent_class = g_type_class_peek_parent (klass); - gobject_class->dispose = gst_jack_ring_buffer_dispose; - gobject_class->finalize = gst_jack_ring_buffer_finalize; - gstringbuffer_class->open_device = GST_DEBUG_FUNCPTR (gst_jack_ring_buffer_open_device); gstringbuffer_class->close_device = @@ -319,22 +316,6 @@ gst_jack_ring_buffer_init (GstJackRingBuffer * buf, buf->sample_rate = -1; } -static void -gst_jack_ring_buffer_dispose (GObject * object) -{ - G_OBJECT_CLASS (ring_parent_class)->dispose (object); -} - -static void -gst_jack_ring_buffer_finalize (GObject * object) -{ - GstJackRingBuffer *ringbuffer; - - ringbuffer = GST_JACK_RING_BUFFER_CAST (object); - - G_OBJECT_CLASS (ring_parent_class)->finalize (object); -} - /* the _open_device method should make a connection with the server */ static gboolean diff --git a/ext/jack/gstjackaudiosrc.c b/ext/jack/gstjackaudiosrc.c index ee4ae8ddc..f817c2bc1 100644 --- a/ext/jack/gstjackaudiosrc.c +++ b/ext/jack/gstjackaudiosrc.c @@ -178,9 +178,6 @@ gst_jack_ring_buffer_class_init (GstJackRingBufferClass * klass) ring_parent_class = g_type_class_peek_parent (klass); - gobject_class->dispose = gst_jack_ring_buffer_dispose; - gobject_class->finalize = gst_jack_ring_buffer_finalize; - gstringbuffer_class->open_device = GST_DEBUG_FUNCPTR (gst_jack_ring_buffer_open_device); gstringbuffer_class->close_device = @@ -322,20 +319,6 @@ gst_jack_ring_buffer_init (GstJackRingBuffer * buf, buf->sample_rate = -1; } -static void -gst_jack_ring_buffer_dispose (GObject * object) -{ - G_OBJECT_CLASS (ring_parent_class)->dispose (object); -} - -static void -gst_jack_ring_buffer_finalize (GObject * object) -{ - GstJackRingBuffer *ringbuffer; - ringbuffer = GST_JACK_RING_BUFFER_CAST (object); - G_OBJECT_CLASS (ring_parent_class)->finalize (object); -} - /* the _open_device method should make a connection with the server */ static gboolean diff --git a/ext/jack/gstjackringbuffer.h b/ext/jack/gstjackringbuffer.h index dfe21b1a9..266fdfa31 100644 --- a/ext/jack/gstjackringbuffer.h +++ b/ext/jack/gstjackringbuffer.h @@ -73,8 +73,6 @@ struct _GstJackRingBufferClass static void gst_jack_ring_buffer_class_init(GstJackRingBufferClass * klass); static void gst_jack_ring_buffer_init(GstJackRingBuffer * ringbuffer, GstJackRingBufferClass * klass); -static void gst_jack_ring_buffer_dispose(GObject * object); -static void gst_jack_ring_buffer_finalize(GObject * object); static GstRingBufferClass *ring_parent_class = NULL; |