diff options
author | phintuka <phintuka> | 2014-07-01 18:31:17 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2014-07-01 18:31:17 +0000 |
commit | 9364363ce77c011cc7408c90dbb0111f9946cedb (patch) | |
tree | 263b5aeea60b31e5a1d99465b4fe3a26e35c5792 | |
parent | 6c7fc3f7e5752739c8ded74b46c474f439bcd06b (diff) | |
download | xineliboutput-9364363ce77c011cc7408c90dbb0111f9946cedb.tar.gz xineliboutput-9364363ce77c011cc7408c90dbb0111f9946cedb.tar.bz2 |
g_type_init() is deprecated
-rw-r--r-- | tools/gnome_screensaver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gnome_screensaver.c b/tools/gnome_screensaver.c index 81685100..efa83609 100644 --- a/tools/gnome_screensaver.c +++ b/tools/gnome_screensaver.c @@ -159,7 +159,9 @@ void gnome_screensaver_control(int enable) DBusGProxy *proxy; gboolean ret; +#if !GLIB_CHECK_VERSION(2,35,0) g_type_init(); +#endif #ifdef HAVE_MCE_DBUS_NAMES error = NULL; |