summaryrefslogtreecommitdiff
path: root/mate-session
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-16 12:19:23 +0100
committerinfirit <[email protected]>2014-12-16 12:19:23 +0100
commitf61b93311585587b105748b77b4b7279b5699a3e (patch)
treeba2b90c8fe25b6421ca40ff862f76b25fca821a0 /mate-session
parent7d3fbfa9e96b48e72e8f00681a6a28f83a768504 (diff)
downloadmate-session-manager-f61b93311585587b105748b77b4b7279b5699a3e.tar.bz2
mate-session-manager-f61b93311585587b105748b77b4b7279b5699a3e.tar.xz
Revert "Drop support for Glib < 2.36"
This reverts commit e017ed5b24f91705facec821afdc066f7a3523b5.
Diffstat (limited to 'mate-session')
-rw-r--r--mate-session/test-client-dbus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-session/test-client-dbus.c b/mate-session/test-client-dbus.c
index a41255a..8f8fbe9 100644
--- a/mate-session/test-client-dbus.c
+++ b/mate-session/test-client-dbus.c
@@ -240,6 +240,10 @@ 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) {
g_warning ("Unable to connect to session manager");