aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index b6d56d4..c4801ba 100644
--- a/src/main.c
+++ b/src/main.c
@@ -387,8 +387,10 @@ main (int argc, char * argv[])
{
GError * error = NULL;
+#if !GLIB_CHECK_VERSION (2, 35, 1)
/* Init the GTypes */
g_type_init();
+#endif
/* Setup i18n */
setlocale (LC_ALL, "");