summaryrefslogtreecommitdiff
path: root/tests/test-pangocairo-threads.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-04 15:22:56 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-07-04 15:22:56 +0000
commit9077d7fb83fbc09f777a3d482d6c7ad60f1d786a (patch)
treee9d8424853c321cee5c97ecf2b3867e473fca359 /tests/test-pangocairo-threads.c
parent9eff435d13228cf57d951673220ca569392fd803 (diff)
downloadpango-9077d7fb83fbc09f777a3d482d6c7ad60f1d786a.tar.gz
Drop g_type_init calls
These were ifdefed to an older version of GLib than we require now, so are just dead code.
Diffstat (limited to 'tests/test-pangocairo-threads.c')
-rw-r--r--tests/test-pangocairo-threads.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test-pangocairo-threads.c b/tests/test-pangocairo-threads.c
index 6462a0ea..cdbd2419 100644
--- a/tests/test-pangocairo-threads.c
+++ b/tests/test-pangocairo-threads.c
@@ -78,10 +78,6 @@ main (int argc, char **argv)
if (argc > 2)
num_iters = atoi (argv[2]);
-#if !GLIB_CHECK_VERSION (2, 35, 3)
- g_type_init();
-#endif
-
g_mutex_lock (&mutex);
for (i = 0; i < num_threads; i++)