summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 5fdbf5f..d238818 100644
--- a/src/main.c
+++ b/src/main.c
@@ -176,7 +176,11 @@ int main(int argc, char *argv[])
TrgClient *client;
g_type_init();
+
+#if !GLIB_CHECK_VERSION(2, 32, 0)
g_thread_init(NULL);
+#endif
+
gtk_init(&argc, &argv);
#if WIN32