aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 79b17cda5..e1fc96bdc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -382,6 +382,9 @@ int main(int argc, char *argv[])
Options options;
clock_t start;
+ /* enable GLib's thread safety code */
+ g_thread_init(NULL);
+
initConf();
parseOptions(argc, argv, &options);