summaryrefslogtreecommitdiff
path: root/src/mate-screensaver-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mate-screensaver-command.c')
-rw-r--r--src/mate-screensaver-command.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mate-screensaver-command.c b/src/mate-screensaver-command.c
index d4f7657..a87ea55 100644
--- a/src/mate-screensaver-command.c
+++ b/src/mate-screensaver-command.c
@@ -499,6 +499,10 @@ main (int argc,
textdomain (GETTEXT_PACKAGE);
#endif
+#if !GLIB_CHECK_VERSION (2, 36, 0)
+ g_type_init ();
+#endif
+
g_set_prgname (argv[0]);
if (setlocale (LC_ALL, "") == NULL)