[Spice-devel] [PATCH spice-gtk 29/34] gstaudio: remove spice_gstaudio_finalize

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Mon Jan 7 08:00:58 UTC 2019


From: Marc-André Lureau <marcandre.lureau at redhat.com>

Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
 src/spice-gstaudio.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/spice-gstaudio.c b/src/spice-gstaudio.c
index dcd0591..aff69d2 100644
--- a/src/spice-gstaudio.c
+++ b/src/spice-gstaudio.c
@@ -59,11 +59,6 @@ static void spice_gstaudio_get_record_volume_info_async(SpiceAudio *audio,
 static gboolean spice_gstaudio_get_record_volume_info_finish(SpiceAudio *audio,
         GAsyncResult *res, gboolean *mute, guint8 *nchannels, guint16 **volume, GError **error);
 
-static void spice_gstaudio_finalize(GObject *obj)
-{
-    G_OBJECT_CLASS(spice_gstaudio_parent_class)->finalize(obj);
-}
-
 static void stream_dispose(struct stream *s)
 {
     if (s->pipe) {
@@ -113,7 +108,6 @@ static void spice_gstaudio_class_init(SpiceGstaudioClass *klass)
     audio_class->get_record_volume_info_async = spice_gstaudio_get_record_volume_info_async;
     audio_class->get_record_volume_info_finish = spice_gstaudio_get_record_volume_info_finish;
 
-    gobject_class->finalize = spice_gstaudio_finalize;
     gobject_class->dispose = spice_gstaudio_dispose;
 }
 
-- 
2.20.1.2.gb21ebb671b



More information about the Spice-devel mailing list