summaryrefslogtreecommitdiff
path: root/tests/document-input-stream.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-04 12:46:45 +0100
committerStefano Karapetsas <[email protected]>2013-11-04 12:46:45 +0100
commit76265841b74cad78a60e5f960d37beb8ba854e2e (patch)
tree17e830fe5d6acbbcc8e7497fa27dcdde42933f2c /tests/document-input-stream.c
parentc0bd4250ef3ceda457aaa492cc950b215f5db06e (diff)
downloadpluma-76265841b74cad78a60e5f960d37beb8ba854e2e.tar.bz2
pluma-76265841b74cad78a60e5f960d37beb8ba854e2e.tar.xz
Fix some deprecations
Diffstat (limited to 'tests/document-input-stream.c')
-rw-r--r--tests/document-input-stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/document-input-stream.c b/tests/document-input-stream.c
index 3a796a34..930912e6 100644
--- a/tests/document-input-stream.c
+++ b/tests/document-input-stream.c
@@ -140,7 +140,9 @@ test_consecutive_multibyte_big_read ()
int main (int argc,
char *argv[])
{
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/document-input-stream/empty", test_empty);