summaryrefslogtreecommitdiff
path: root/src/mate-calc-cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mate-calc-cmd.c')
-rw-r--r--src/mate-calc-cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mate-calc-cmd.c b/src/mate-calc-cmd.c
index e65ac5a..ed6b556 100644
--- a/src/mate-calc-cmd.c
+++ b/src/mate-calc-cmd.c
@@ -74,7 +74,9 @@ main(int argc, char **argv)
/* Seed random number generator. */
srand48((long) time((time_t *) 0));
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
setlocale(LC_ALL, "");
result_serializer = mp_serializer_new(MP_DISPLAY_FORMAT_AUTOMATIC, 10, 9);