summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-12 16:52:16 +0100
committerStefano Karapetsas <[email protected]>2013-11-12 16:52:16 +0100
commite82d5777877a372a350bed163b95879b32a7a99b (patch)
tree608cfa3ffa98f5dfdeb022707f31a1a26fc7f621
parentc16f1bb1fa58041a1dd3282207aff3b5774371f0 (diff)
downloadmate-screensaver-e82d5777877a372a350bed163b95879b32a7a99b.tar.bz2
mate-screensaver-e82d5777877a372a350bed163b95879b32a7a99b.tar.xz
mate-screensaver-command: Fix glib deprecation
-rw-r--r--src/mate-screensaver-command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mate-screensaver-command.c b/src/mate-screensaver-command.c
index 3a08757..a87ea55 100644
--- a/src/mate-screensaver-command.c
+++ b/src/mate-screensaver-command.c
@@ -499,7 +499,9 @@ main (int argc,
textdomain (GETTEXT_PACKAGE);
#endif
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
g_set_prgname (argv[0]);