Revert "Remove deprecated call to g_type_init"

This reverts commit 0b75b3c4b4.
master-1.22
infirit 2014-12-16 11:49:55 +01:00
parent 666895ab75
commit deedb94b39
1 changed files with 2 additions and 0 deletions

View File

@ -527,6 +527,8 @@ get_initial_workspace (void)
GdkAtom atom; GdkAtom atom;
GdkAtom cardinal_atom; GdkAtom cardinal_atom;
g_type_init ();
window = gdk_get_default_root_window(); window = gdk_get_default_root_window();
atom = gdk_atom_intern_static_string ("_NET_CURRENT_DESKTOP"); atom = gdk_atom_intern_static_string ("_NET_CURRENT_DESKTOP");