summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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