From 986a3eb8c670ac3360fca5f3d3b1f8e84ef5427d Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 4 Jun 2002 22:00:49 +0000 Subject: a first feeble attempt at fixoring this beauty Original commit message from CVS: a first feeble attempt at fixoring this beauty --- ext/arts/gst_arts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/arts/gst_arts.c b/ext/arts/gst_arts.c index f85214a0..cbeaf323 100644 --- a/ext/arts/gst_arts.c +++ b/ext/arts/gst_arts.c @@ -113,6 +113,8 @@ gst_arts_class_init (GstARTSClass *klass) GObjectClass *gobject_class; GstElementClass *gstelement_class; + parent_class = g_type_class_ref(GST_TYPE_ELEMENT); + gobject_class = (GObjectClass*)klass; gstelement_class = (GstElementClass*)klass; } @@ -146,8 +148,6 @@ plugin_init (GModule *module, GstPlugin *plugin) { GstElementFactory *gstarts; - parent_class = g_type_class_ref(GST_TYPE_ELEMENT); - gstarts = gst_element_factory_new("gstarts",GST_TYPE_ARTS,&gst_arts_details); g_return_val_if_fail(gstarts != NULL, FALSE); -- cgit v1.2.1