mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-10 18:53:18 +00:00
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:
parent
0b1a87a6d0
commit
9e29b72461
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user