Skip to content

Commit

Permalink
g_type_init() is deprecated since GLib 2.36
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed May 17, 2013
1 parent 223f15f commit 212120c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cutter/cut-main.c
Expand Up @@ -52,8 +52,11 @@ char **environ = NULL;
# include <winsock2.h>
#endif

#if GLIB_CHECK_VERSION(2, 32, 0)
#if GLIB_CHECK_VERSION(2, 36, 0)
# define g_type_init()
#endif

#if GLIB_CHECK_VERSION(2, 32, 0)
# define g_thread_supported() TRUE
# define g_thread_init(vtable)
#endif
Expand Down

0 comments on commit 212120c

Please sign in to comment.