From 78a1841c86f99cf36844658f1c6e6a152862990f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 17 Apr 2015 14:09:47 +0200 Subject: [PATCH] gl: Remove some empty ::finalize() implementations --- ext/gl/gstglbasemixer.c | 9 --------- ext/gl/gstglmixer.c | 9 --------- 2 files changed, 18 deletions(-) diff --git a/ext/gl/gstglbasemixer.c b/ext/gl/gstglbasemixer.c index f2eaa2f..64c019c 100644 --- a/ext/gl/gstglbasemixer.c +++ b/ext/gl/gstglbasemixer.c @@ -41,7 +41,6 @@ static void gst_gl_base_mixer_pad_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); static void gst_gl_base_mixer_pad_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec); -static void gst_gl_base_mixer_pad_finalize (GObject * object); static void gst_gl_base_mixer_set_context (GstElement * element, GstContext * context); @@ -81,20 +80,12 @@ gst_gl_base_mixer_pad_class_init (GstGLBaseMixerPadClass * klass) gobject_class->set_property = gst_gl_base_mixer_pad_set_property; gobject_class->get_property = gst_gl_base_mixer_pad_get_property; - gobject_class->finalize = gst_gl_base_mixer_pad_finalize; - vaggpad_class->set_info = NULL; vaggpad_class->prepare_frame = NULL; vaggpad_class->clean_frame = NULL; } static void -gst_gl_base_mixer_pad_finalize (GObject * object) -{ - G_OBJECT_CLASS (gst_gl_base_mixer_pad_parent_class)->finalize (object); -} - -static void gst_gl_base_mixer_pad_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { diff --git a/ext/gl/gstglmixer.c b/ext/gl/gstglmixer.c index 51bd517..5becd24 100644 --- a/ext/gl/gstglmixer.c +++ b/ext/gl/gstglmixer.c @@ -42,7 +42,6 @@ static void gst_gl_mixer_pad_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); static void gst_gl_mixer_pad_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec); -static void gst_gl_mixer_pad_finalize (GObject * object); enum { @@ -73,20 +72,12 @@ gst_gl_mixer_pad_class_init (GstGLMixerPadClass * klass) gobject_class->set_property = gst_gl_mixer_pad_set_property; gobject_class->get_property = gst_gl_mixer_pad_get_property; - gobject_class->finalize = gst_gl_mixer_pad_finalize; - vaggpad_class->set_info = NULL; vaggpad_class->prepare_frame = NULL; vaggpad_class->clean_frame = NULL; } static void -gst_gl_mixer_pad_finalize (GObject * object) -{ - G_OBJECT_CLASS (gst_gl_mixer_pad_parent_class)->finalize (object); -} - -static void gst_gl_mixer_pad_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { -- 2.7.4