From 4ad9a69aebf43ba4bbb1589499ff708a075ce366 Mon Sep 17 00:00:00 2001 From: RichardHitt Date: Wed, 24 Apr 2013 14:33:05 -0700 Subject: Early on, call g_type_init() unless deprecated --- src/common/hexchat.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common') diff --git a/src/common/hexchat.c b/src/common/hexchat.c index 7876c9e4..11694af3 100644 --- a/src/common/hexchat.c +++ b/src/common/hexchat.c @@ -1046,6 +1046,9 @@ main (int argc, char *argv[]) } } +#if ! GLIB_CHECK_VERSION (2, 36, 0) + g_type_init (); +#endif load_config (); #ifdef WIN32 -- cgit 1.4.1