From 758fea90aa450cdf70e9cfb730008c864973535d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 17 Apr 2015 14:05:44 +0200 Subject: [PATCH] gldownloadelement: Remove unused ::finalize() implementation --- ext/gl/gstgldownloadelement.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ext/gl/gstgldownloadelement.c b/ext/gl/gstgldownloadelement.c index dfe0856182..58a4b05472 100644 --- a/ext/gl/gstgldownloadelement.c +++ b/ext/gl/gstgldownloadelement.c @@ -34,7 +34,6 @@ G_DEFINE_TYPE_WITH_CODE (GstGLDownloadElement, gst_gl_download_element, GST_DEBUG_CATEGORY_INIT (gst_gl_download_element_debug, "gldownloadelement", 0, "download element"); ); -static void gst_gl_download_element_finalize (GObject * object); static gboolean gst_gl_download_element_get_unit_size (GstBaseTransform * trans, GstCaps * caps, gsize * size); @@ -83,8 +82,6 @@ gst_gl_download_element_class_init (GstGLDownloadElementClass * klass) gst_element_class_set_metadata (element_class, "OpenGL uploader", "Filter/Video", "Uploads data into OpenGL", "Matthew Waters "); - - G_OBJECT_CLASS (klass)->finalize = gst_gl_download_element_finalize; } static void @@ -94,12 +91,6 @@ gst_gl_download_element_init (GstGLDownloadElement * download) TRUE); } -static void -gst_gl_download_element_finalize (GObject * object) -{ - G_OBJECT_CLASS (gst_gl_download_element_parent_class)->finalize (object); -} - static gboolean gst_gl_download_element_set_caps (GstBaseTransform * bt, GstCaps * in_caps, GstCaps * out_caps)