commit 359f21e5801c45b67def5759106ae7cc83ee28fe
Author: Gergely Polonkai <gergely@polonkai.eu>
Date:   Sun Sep 28 12:06:37 2014 +0200

    Remove g_type_init() calls

diff --git a/docs/libyelp/Makefile.am b/docs/libyelp/Makefile.am
index c1a13ef..90b9dcb 100644
--- a/docs/libyelp/Makefile.am
+++ b/docs/libyelp/Makefile.am
@@ -6,8 +6,6 @@ DOC_MAIN_SGML_FILE = libyelp-docs.xml
 
 SCAN_OPTIONS = --deprecated-guards="G_DISABLE_DEPRECATED" --rebuild-types
 
-SCANGOBJ_OPTIONS = --type-init-func="g_type_init();"
-
 DOC_SOURCE_DIR = $(top_srcdir)/libyelp
 
 GTKDOC_CFLAGS =						\
diff --git a/tests/test-bz2.c b/tests/test-bz2.c
index 06f583d..bcc7e63 100644
--- a/tests/test-bz2.c
+++ b/tests/test-bz2.c
@@ -41,8 +41,6 @@ main (int argc, char **argv)
         return 1;
     }
 
-    g_type_init ();
-
     file = g_file_new_for_path (argv[1]);
     file_stream = g_file_read (file, NULL, NULL);
     converter = yelp_bz2_decompressor_new ();
diff --git a/tests/test-lzma.c b/tests/test-lzma.c
index 56412b9..6f02643 100644
--- a/tests/test-lzma.c
+++ b/tests/test-lzma.c
@@ -41,8 +41,6 @@ main (int argc, char **argv)
         return 1;
     }
 
-    g_type_init ();
-
     file = g_file_new_for_path (argv[1]);
     file_stream = g_file_read (file, NULL, NULL);
     converter = yelp_lzma_decompressor_new ();
diff --git a/tests/test-magic.c b/tests/test-magic.c
index 8ae0eb9..ecacd14 100644
--- a/tests/test-magic.c
+++ b/tests/test-magic.c
@@ -41,8 +41,6 @@ main (int argc, char **argv)
         return 1;
     }
 
-    g_type_init ();
-
     file = g_file_new_for_path (argv[1]);
     file_stream = g_file_read (file, NULL, NULL);
     converter = yelp_magic_decompressor_new ();
diff --git a/tests/test-transform.c b/tests/test-transform.c
index 6b93b96..88de0fe 100644
--- a/tests/test-transform.c
+++ b/tests/test-transform.c
@@ -117,8 +117,6 @@ main (gint argc, gchar **argv)
     gchar *stylesheet;
     gchar *file;
 
-    g_type_init ();
-
     context = g_option_context_new ("[STYLESHEET] FILE");
     g_option_context_add_main_entries (context, options, NULL);
     g_option_context_parse (context, &argc, &argv, NULL);
diff --git a/tests/test-uri.c b/tests/test-uri.c
index 3867e60..73106e3 100644
--- a/tests/test-uri.c
+++ b/tests/test-uri.c
@@ -223,7 +223,6 @@ main (int argc, char **argv)
     YelpUri *parent = NULL;
     YelpUri *uri = NULL;
 
-    g_type_init ();
     g_log_set_always_fatal (G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL);
         
     if (argc < 2) {
