summaryrefslogtreecommitdiff
path: root/tests/src/vnc-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/vnc-client.c')
-rw-r--r--tests/src/vnc-client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/vnc-client.c b/tests/src/vnc-client.c
index 8e4e7968..8577b39d 100644
--- a/tests/src/vnc-client.c
+++ b/tests/src/vnc-client.c
@@ -28,7 +28,9 @@ main (int argc, char **argv)
gchar buffer[1024];
gssize n_read, n_sent;
+#if !defined(GLIB_VERSION_2_36)
g_type_init ();
+#endif
status_connect (request_cb);