From 954585510854675bdfdf229b177a4e5f778645e7 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Tue, 15 Oct 2013 15:07:24 +0200 Subject: Fix g_type_init deprecation --- mate-session/test-client-dbus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mate-session/test-client-dbus.c b/mate-session/test-client-dbus.c index fa888ed..8f8fbe9 100644 --- a/mate-session/test-client-dbus.c +++ b/mate-session/test-client-dbus.c @@ -240,7 +240,9 @@ main (int argc, g_log_set_always_fatal (G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING); +#if !GLIB_CHECK_VERSION (2, 36, 0) g_type_init (); +#endif res = session_manager_connect (); if (! res) { -- cgit v1.2.1