summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/terminal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c
index f9989a5..2eca2a2 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -527,6 +527,8 @@ get_initial_workspace (void)
GdkAtom atom;
GdkAtom cardinal_atom;
+ g_type_init ();
+
window = gdk_get_default_root_window();
atom = gdk_atom_intern_static_string ("_NET_CURRENT_DESKTOP");