summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 6e3e298..18fa179 100644
--- a/src/main.c
+++ b/src/main.c
@@ -338,7 +338,9 @@ int main(int argc, char *argv[])
return -EFAULT;
}
+#if (GLIB_MAJOR_VERSION <= 2 && GLIB_MINOR_VERSION < 36)
g_type_init();
+#endif
/*!
* \note