diff options
Diffstat (limited to 'src/test-vt-monitor.c')
-rw-r--r-- | src/test-vt-monitor.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test-vt-monitor.c b/src/test-vt-monitor.c index c445865..afcacc2 100644 --- a/src/test-vt-monitor.c +++ b/src/test-vt-monitor.c @@ -56,10 +56,15 @@ main (int argc, char **argv) guint num; gboolean res; +#if !GLIB_CHECK_VERSION(2, 32, 0) if (! g_thread_supported ()) { g_thread_init (NULL); } +#endif + +#if !GLIB_CHECK_VERSION(2, 36, 0) g_type_init (); +#endif if (! ck_is_root_user ()) { g_warning ("Must be run as root"); |