From 5428e934b289db65b7dabd7cd637d6b377aac5ed Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 16 Oct 2012 10:58:08 -0400 Subject: [PATCH] Drop calls to g_type_init() And bump our GLib requirement. --- cmph-bdz-test.c | 1 - gi-dump-types.c | 2 -- gthash-test.c | 1 - 3 files changed, 4 deletions(-) diff --git a/cmph-bdz-test.c b/cmph-bdz-test.c index fdff9d179..92c445f8f 100644 --- a/cmph-bdz-test.c +++ b/cmph-bdz-test.c @@ -128,7 +128,6 @@ main(int argc, char **argv) { gint ret; - g_type_init (); g_test_init (&argc, &argv, NULL); g_test_add_func ("/cmph-bdz/search", test_search); diff --git a/gi-dump-types.c b/gi-dump-types.c index 13e7ae68a..69d8b12d4 100644 --- a/gi-dump-types.c +++ b/gi-dump-types.c @@ -10,8 +10,6 @@ main (int argc, GOutputStream *stdout; GModule *self; - g_type_init (); - stdout = g_unix_output_stream_new (1, FALSE); self = g_module_open (NULL, 0); diff --git a/gthash-test.c b/gthash-test.c index ea811e35a..faeb2dc5b 100644 --- a/gthash-test.c +++ b/gthash-test.c @@ -56,7 +56,6 @@ test_build_retrieve (void) int main(int argc, char **argv) { - g_type_init (); g_test_init (&argc, &argv, NULL); g_test_add_func ("/gthash/build-retrieve", test_build_retrieve);