diff options
Diffstat (limited to 'gst/chart')
-rw-r--r-- | gst/chart/gstchart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/chart/gstchart.c b/gst/chart/gstchart.c index af6fd9c6..397fc93d 100644 --- a/gst/chart/gstchart.c +++ b/gst/chart/gstchart.c @@ -162,7 +162,7 @@ gst_chart_class_init (GstChartClass * 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_chart_set_property; gobject_class->get_property = gst_chart_get_property; |