summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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();