From 0265b0f6a355592d7d5377541113a07cfb9cfea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 26 Mar 2013 14:35:38 +0100 Subject: [PATCH] directsoundsink: Don't unnecessarily get the parent class in class_init The trampoline generated by G_DEFINE_TYPE does that already. --- sys/directsound/gstdirectsoundsink.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/directsound/gstdirectsoundsink.c b/sys/directsound/gstdirectsoundsink.c index 3d21f37222..88573a4f6a 100644 --- a/sys/directsound/gstdirectsoundsink.c +++ b/sys/directsound/gstdirectsoundsink.c @@ -155,8 +155,6 @@ gst_directsound_sink_class_init (GstDirectSoundSinkClass * klass) GST_DEBUG_CATEGORY_INIT (directsoundsink_debug, "directsoundsink", 0, "DirectSound sink"); - parent_class = g_type_class_peek_parent (klass); - gobject_class->finalize = gst_directsound_sink_finalize; gobject_class->set_property = gst_directsound_sink_set_property; gobject_class->get_property = gst_directsound_sink_get_property;