summaryrefslogtreecommitdiff
path: root/src/test-mp.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-28 11:17:47 +0100
committerStefano Karapetsas <[email protected]>2013-10-28 11:17:47 +0100
commit5e27c642d0f755771873254c936261126d20deb8 (patch)
treeaf5cef47a365ff24778f347b5b6ca63a43f18918 /src/test-mp.c
parent686ef72ea7b93f38623a3978a9bccb879b8565b4 (diff)
downloadmate-calc-5e27c642d0f755771873254c936261126d20deb8.tar.bz2
mate-calc-5e27c642d0f755771873254c936261126d20deb8.tar.xz
Fix g_type_init deprecations
Diffstat (limited to 'src/test-mp.c')
-rw-r--r--src/test-mp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test-mp.c b/src/test-mp.c
index a750f2a..2b976ac 100644
--- a/src/test-mp.c
+++ b/src/test-mp.c
@@ -229,7 +229,9 @@ int
main (int argc, char **argv)
{
setlocale(LC_ALL, "C");
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
test_mp();
test_numbers();