summaryrefslogtreecommitdiff
path: root/tests/document-saver.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/document-saver.c')
-rw-r--r--tests/document-saver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/document-saver.c b/tests/document-saver.c
index 455ef656..707e0984 100644
--- a/tests/document-saver.c
+++ b/tests/document-saver.c
@@ -687,6 +687,9 @@ int main (int argc,
gboolean have_unowned;
gboolean have_unowned_group;
+#if !GLIB_CHECK_VERSION (2, 36, 0)
+ g_type_init ();
+#endif
g_test_init (&argc, &argv, NULL);
pluma_prefs_manager_app_init ();