summaryrefslogtreecommitdiff
path: root/ext/musicbrainz
diff options
context:
space:
mode:
Diffstat (limited to 'ext/musicbrainz')
-rw-r--r--ext/musicbrainz/gsttrm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/musicbrainz/gsttrm.c b/ext/musicbrainz/gsttrm.c
index f4b791e0d..8e3e7fdc0 100644
--- a/ext/musicbrainz/gsttrm.c
+++ b/ext/musicbrainz/gsttrm.c
@@ -141,7 +141,7 @@ gst_musicbrainz_class_init (GstMusicBrainzClass * 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);
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SIGNATURE,
g_param_spec_string ("signature", "signature", "signature",