summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-06-04 22:00:49 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-06-04 22:00:49 +0000
commit986a3eb8c670ac3360fca5f3d3b1f8e84ef5427d (patch)
treea7cb679d6cd5b86ae5e2a7238335245f9101c774
parentda4c85a38dbb44ff770f340f91ab5d5776f7417c (diff)
downloadgst-plugins-bad-986a3eb8c670ac3360fca5f3d3b1f8e84ef5427d.tar.gz
gst-plugins-bad-986a3eb8c670ac3360fca5f3d3b1f8e84ef5427d.tar.bz2
gst-plugins-bad-986a3eb8c670ac3360fca5f3d3b1f8e84ef5427d.zip
a first feeble attempt at fixoring this beauty
Original commit message from CVS: a first feeble attempt at fixoring this beauty
-rw-r--r--ext/arts/gst_arts.c4
1 files changed, 2 insertions, 2 deletions
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);