summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-16 11:49:55 +0100
committerinfirit <[email protected]>2014-12-16 11:49:55 +0100
commitdeedb94b3948097b6e51fc0e90718b29c4eaeacc (patch)
treeca7f665de6f6158e77e4014ceff9b4636f2fe0f9 /src/terminal.c
parent666895ab751722ef5a9b7ae29cb15c5ffb8d77d3 (diff)
downloadmate-terminal-deedb94b3948097b6e51fc0e90718b29c4eaeacc.tar.bz2
mate-terminal-deedb94b3948097b6e51fc0e90718b29c4eaeacc.tar.xz
Revert "Remove deprecated call to g_type_init"
This reverts commit 0b75b3c4b4354b72b604c6313ceef97d9ecb007c.
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 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");