[Xfce4-commits] <tumbler:master> Fix deprecating warning with glib 2.36.

Nick Schermer noreply at xfce.org
Sun May 5 12:20:01 CEST 2013


Updating branch refs/heads/master
         to bd98846ce8b5b318004a8cac4fbcff23efb59865 (commit)
       from b6cb74a55167e059bcfc4dbb67da9e99848f8e9e (commit)

commit bd98846ce8b5b318004a8cac4fbcff23efb59865
Author: Nick Schermer <nick at xfce.org>
Date:   Sat May 4 16:42:44 2013 +0200

    Fix deprecating warning with glib 2.36.

 tumblerd/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tumblerd/main.c b/tumblerd/main.c
index 1a7face..a0782b1 100644
--- a/tumblerd/main.c
+++ b/tumblerd/main.c
@@ -249,8 +249,10 @@ main (int    argc,
   /* set the application name. Translators: Don't translate "Tumbler". */
   g_set_application_name (_("Tumbler Thumbnailing Service"));
 
+#if !GLIB_CHECK_VERSION (2, 36, 0)
   /* initialize the GLib type system */
   g_type_init ();
+#endif
 
 #if !GLIB_CHECK_VERSION (2, 32, 0)
   /* initialize threading system */


More information about the Xfce4-commits mailing list