[Xfce4-commits] [apps/xfce4-screensaver] 99/425: mate-screensaver-command: Fix glib deprecation

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:49:06 CEST 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit e82d5777877a372a350bed163b95879b32a7a99b
Author: Stefano Karapetsas <stefano at karapetsas.com>
Date:   Tue Nov 12 16:52:16 2013 +0100

    mate-screensaver-command: Fix glib deprecation
---
 src/mate-screensaver-command.c | 2 ++
 1 file changed, 2 insertions(+)

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]);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list