summaryrefslogtreecommitdiffstats
path: root/gst/debug
diff options
context:
space:
mode:
Diffstat (limited to 'gst/debug')
-rw-r--r--gst/debug/efence.c2
-rw-r--r--gst/debug/negotiation.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/debug/efence.c b/gst/debug/efence.c
index 2c727251..22a7da1e 100644
--- a/gst/debug/efence.c
+++ b/gst/debug/efence.c
@@ -160,7 +160,7 @@ gst_efence_class_init (GstEFenceClass * 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_efence_set_property;
gobject_class->get_property = gst_efence_get_property;
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;