summaryrefslogtreecommitdiff
path: root/src/mate-screensaver-dialog.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-16 12:23:08 +0100
committerinfirit <[email protected]>2014-12-16 12:23:08 +0100
commitddc4152abebd61f14055dec8c2f7c4c1e0d2ddd0 (patch)
treea5ba8d562e4c7771f94809d87c48dc2e367bf4db /src/mate-screensaver-dialog.c
parent7173fdd3c392d415775525e6470895fde27b2de6 (diff)
downloadmate-screensaver-ddc4152abebd61f14055dec8c2f7c4c1e0d2ddd0.tar.bz2
mate-screensaver-ddc4152abebd61f14055dec8c2f7c4c1e0d2ddd0.tar.xz
Add back Glib 2.32 support
Diffstat (limited to 'src/mate-screensaver-dialog.c')
-rw-r--r--src/mate-screensaver-dialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mate-screensaver-dialog.c b/src/mate-screensaver-dialog.c
index 79be649..6b23baa 100644
--- a/src/mate-screensaver-dialog.c
+++ b/src/mate-screensaver-dialog.c
@@ -560,6 +560,10 @@ int main(int argc, char** argv)
textdomain(GETTEXT_PACKAGE);
#endif
+#if !GLIB_CHECK_VERSION (2, 36, 0)
+ g_type_init();
+#endif
+
gs_profile_start(NULL);
if (!privileged_initialization(&argc, argv, verbose))