summaryrefslogtreecommitdiff
path: root/tests/document-output-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/document-output-stream.c')
-rw-r--r--tests/document-output-stream.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/document-output-stream.c b/tests/document-output-stream.c
index 8c9f6de4..b6a474e2 100644
--- a/tests/document-output-stream.c
+++ b/tests/document-output-stream.c
@@ -119,6 +119,9 @@ test_big_char ()
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 ();