summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-16 11:51:08 +0100
committerinfirit <[email protected]>2014-12-16 11:55:10 +0100
commit1ea79cc4669b5d760a1cc6a614eabe8223a9db6d (patch)
treee39a3a5617e8a6c9473040d2792835cdaeecbc1f /src/terminal.c
parentdeedb94b3948097b6e51fc0e90718b29c4eaeacc (diff)
downloadmate-terminal-1ea79cc4669b5d760a1cc6a614eabe8223a9db6d.tar.bz2
mate-terminal-1ea79cc4669b5d760a1cc6a614eabe8223a9db6d.tar.xz
Only stop use of g_type_init with Glib 2.36
It is still needed in 2.32 from what I can figure out.
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 2eca2a2..2d70c06 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -527,7 +527,9 @@ get_initial_workspace (void)
GdkAtom atom;
GdkAtom cardinal_atom;
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
window = gdk_get_default_root_window();