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 <victortoso@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Victor Toso 2020-02-18 23:07:37 +01:00 committed by Frediano Ziglio
parent 0b1a87a6d0
commit 9e29b72461

View File

@ -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,