summaryrefslogtreecommitdiff
path: root/tests/document-loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/document-loader.c')
-rw-r--r--tests/document-loader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/document-loader.c b/tests/document-loader.c
index 42f9b638..a3e6a57b 100644
--- a/tests/document-loader.c
+++ b/tests/document-loader.c
@@ -238,7 +238,9 @@ test_begin_new_line_detection ()
int main (int argc,
char *argv[])
{
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
g_test_init (&argc, &argv, NULL);
pluma_prefs_manager_app_init ();