diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-03-26 17:35:38 +0400 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-03-26 17:40:16 +0400 |
commit | 0265b0f6a355592d7d5377541113a07cfb9cfea8 (patch) | |
tree | 0774ad017f764894030331a564b1c0918c0984d8 /sys/directsound/gstdirectsoundsink.c | |
parent | 53f8b05b0893a30b7db59afb01ecae7fd105db6e (diff) |
directsoundsink: Don't unnecessarily get the parent class in class_init
The trampoline generated by G_DEFINE_TYPE does that already.
Diffstat (limited to 'sys/directsound/gstdirectsoundsink.c')
-rw-r--r-- | sys/directsound/gstdirectsoundsink.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/directsound/gstdirectsoundsink.c b/sys/directsound/gstdirectsoundsink.c index 3d21f3722..88573a4f6 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; |