summaryrefslogtreecommitdiffstats
path: root/gst/librfb/gstrfbsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/librfb/gstrfbsrc.c')
-rw-r--r--gst/librfb/gstrfbsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/librfb/gstrfbsrc.c b/gst/librfb/gstrfbsrc.c
index 75d7123e..93929a3b 100644
--- a/gst/librfb/gstrfbsrc.c
+++ b/gst/librfb/gstrfbsrc.c
@@ -190,7 +190,7 @@ gst_rfbsrc_class_init (GstRfbsrcClass * klass)
1, G_MAXINT, 320, G_PARAM_READWRITE));
#endif
- parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
+ parent_class = g_type_class_peek_parent (klass);
g_object_class_install_property (gobject_class, ARG_SERVER,
g_param_spec_string ("server", "Server", "Server",