summaryrefslogtreecommitdiff
path: root/plugins/indexers/gstfileindex.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/indexers/gstfileindex.c')
-rw-r--r--plugins/indexers/gstfileindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/indexers/gstfileindex.c b/plugins/indexers/gstfileindex.c
index 52f704a63..2885470dd 100644
--- a/plugins/indexers/gstfileindex.c
+++ b/plugins/indexers/gstfileindex.c
@@ -179,7 +179,7 @@ gst_file_index_class_init (GstFileIndexClass * klass)
gobject_class = (GObjectClass *) klass;
gstindex_class = (GstIndexClass *) klass;
- parent_class = g_type_class_ref (GST_TYPE_INDEX);
+ parent_class = g_type_class_peek_parent (klass);
gobject_class->dispose = gst_file_index_dispose;
gobject_class->set_property = gst_file_index_set_property;