diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/terminal.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index b6cdbf1..6fa775c 100644 --- a/configure.ac +++ b/configure.ac @@ -40,7 +40,7 @@ MATE_COMPILE_WARNINGS([maximum]) AM_GLIB_GNU_GETTEXT -GLIB_REQUIRED=2.36.0 +GLIB_REQUIRED=2.32.0 GIO_REQUIRED=2.25.12 VTE_REQUIRED=0.27.1 MATE_DESKTOP_REQUIRED=1.9.0 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(); |