summaryrefslogtreecommitdiffstats
path: root/gst/alpha/gstalpha.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/alpha/gstalpha.c')
-rw-r--r--gst/alpha/gstalpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/alpha/gstalpha.c b/gst/alpha/gstalpha.c
index cdb9db1c..55fa32e8 100644
--- a/gst/alpha/gstalpha.c
+++ b/gst/alpha/gstalpha.c
@@ -235,7 +235,7 @@ gst_alpha_class_init (GstAlphaClass * 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_alpha_set_property;
gobject_class->get_property = gst_alpha_get_property;