summaryrefslogtreecommitdiff
path: root/src/mate-screensaver-gl-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mate-screensaver-gl-helper.c')
-rw-r--r--src/mate-screensaver-gl-helper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mate-screensaver-gl-helper.c b/src/mate-screensaver-gl-helper.c
index acf23ef..daaa179 100644
--- a/src/mate-screensaver-gl-helper.c
+++ b/src/mate-screensaver-gl-helper.c
@@ -48,6 +48,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 (! gtk_init_with_args (&argc, &argv, NULL, NULL, NULL, &error))
{