summaryrefslogtreecommitdiffstats
path: root/ext/arts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/arts')
-rw-r--r--ext/arts/gst_arts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/arts/gst_arts.c b/ext/arts/gst_arts.c
index a74952ca..bee180a6 100644
--- a/ext/arts/gst_arts.c
+++ b/ext/arts/gst_arts.c
@@ -131,7 +131,7 @@ gst_arts_class_init (GstARTSClass * klass)
GObjectClass *gobject_class;
GstElementClass *gstelement_class;
- parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
+ parent_class = g_type_class_peek_parent (klass);
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;