summaryrefslogtreecommitdiffstats
path: root/gst/debug/negotiation.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/debug/negotiation.c')
-rw-r--r--gst/debug/negotiation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/debug/negotiation.c b/gst/debug/negotiation.c
index feb62524..a01be1b1 100644
--- a/gst/debug/negotiation.c
+++ b/gst/debug/negotiation.c
@@ -162,7 +162,7 @@ gst_negotiation_class_init (GstNegotiationClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
- parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
+ parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_negotiation_set_property;
gobject_class->get_property = gst_negotiation_get_property;