Permalink
Browse files

g_type_init is deprecated as of GLib 2.35

  • Loading branch information...
1 parent 58fee7f commit 72ad191253ceff896a34c8b56ac3c02066519e7b @epienbroek committed Nov 20, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 jbsrc/lib/src/core/jb-main.c
@@ -161,7 +161,9 @@ jb_main (int argc,
g_log_set_fatal_mask(G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL);
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init();
+#endif
jb_topsrcdir = g_get_current_dir();

0 comments on commit 72ad191

Please sign in to comment.