From 1ea79cc4669b5d760a1cc6a614eabe8223a9db6d Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 16 Dec 2014 11:51:08 +0100 Subject: Only stop use of g_type_init with Glib 2.36 It is still needed in 2.32 from what I can figure out. --- src/terminal.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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(); -- cgit v1.2.1