summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorRichardHitt <rbh00@netcom.com>2013-04-24 14:33:05 -0700
committerRichardHitt <rbh00@netcom.com>2013-04-24 14:33:05 -0700
commit4ad9a69aebf43ba4bbb1589499ff708a075ce366 (patch)
tree0dcdd28679b864574eb6a5cdbc1637492efb22a8 /src
parentee200b97aae343e9f756a03055f7cd4618d46679 (diff)
Early on, call g_type_init() unless deprecated
Diffstat (limited to 'src')
-rw-r--r--src/common/hexchat.c3
1 files changed, 3 insertions, 0 deletions
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