This has been deprecated and causes a compile-time warning when used. --- src/vdagent.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vdagent.c b/src/vdagent.c index 3692e21..8a3c139 100644 --- a/src/vdagent.c +++ b/src/vdagent.c @@ -298,7 +298,9 @@ int main(int argc, char *argv[]) if (do_daemonize) parent_socket = daemonize(); +#if !GLIB_CHECK_VERSION(2,36,0) g_type_init(); +#endif /* TODO: use g_thread_create for GIO < 2.32, g_thread_new for GIO >= 2.32 */ thread_loop = g_thread_new("Loop", thread_func_loop, NULL); -- 1.9.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel