diff options
author | Stefano Karapetsas <[email protected]> | 2013-10-15 15:07:24 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2013-12-17 14:50:46 +0100 |
commit | 0707ce90b895bc3c32af77cbc346ed0fe3832ddd (patch) | |
tree | af7daadccf5ec8427bdc125d4ed26668ea04b958 | |
parent | d0544bae0a7938f46b0b2c778568d71ce1f04f24 (diff) | |
download | mate-session-manager-0707ce90b895bc3c32af77cbc346ed0fe3832ddd.tar.bz2 mate-session-manager-0707ce90b895bc3c32af77cbc346ed0fe3832ddd.tar.xz |
Fix g_type_init deprecation
-rw-r--r-- | mate-session/test-client-dbus.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |