From 9e29b724618c01c10b1bbfb909848bd2960dde6a Mon Sep 17 00:00:00 2001 From: Victor Toso Date: Tue, 18 Feb 2020 23:07:37 +0100 Subject: [PATCH] red-channel: no need to call g_type_init() Since 03d46e9e "build-sys: Raise glib requirement to 2.38" in 2019-02-05 Signed-off-by: Victor Toso Acked-by: Frediano Ziglio --- server/red-channel-capabilities.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/red-channel-capabilities.c b/server/red-channel-capabilities.c index 05b8959c..2a42662e 100644 --- a/server/red-channel-capabilities.c +++ b/server/red-channel-capabilities.c @@ -58,10 +58,6 @@ static void red_channel_capabilities_free(RedChannelCapabilities *caps) SPICE_CONSTRUCTOR_FUNC(red_channel_capabilities_construct) { -#if !GLIB_CHECK_VERSION(2,36,0) - g_type_init(); -#endif - red_channel_capabilities_type = g_boxed_type_register_static("RedChannelCapabilities", (GBoxedCopyFunc) red_channel_capabilities_dup,