summaryrefslogtreecommitdiff
path: root/gst/gstindex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstindex.c')
-rw-r--r--gst/gstindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstindex.c b/gst/gstindex.c
index ef93149a4..d2073dc1a 100644
--- a/gst/gstindex.c
+++ b/gst/gstindex.c
@@ -157,7 +157,7 @@ gst_index_class_init (GstIndexClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
- parent_class = g_type_class_ref (GST_TYPE_OBJECT);
+ parent_class = g_type_class_peek_parent (klass);
/**
* GstIndex::entry-added