diff options
author | Colin Walters <walters@verbum.org> | 2012-10-16 10:58:08 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-10-16 10:58:08 -0400 |
commit | 448230b381a6ba0394962ca73f35af563b5de4c9 (patch) | |
tree | 8ff75402b252b4cbcedd1e8934df3399a5fae1cc /tests | |
parent | d86fc68738bb31e1ed26680ca5d1548721bc9de8 (diff) | |
download | gobject-introspection-448230b381a6ba0394962ca73f35af563b5de4c9.tar.gz |
Drop calls to g_type_init()
And bump our GLib requirement.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/repository/gitestrepo.c | 2 | ||||
-rw-r--r-- | tests/repository/gitestthrows.c | 2 | ||||
-rw-r--r-- | tests/repository/gitypelibtest.c | 2 | ||||
-rw-r--r-- | tests/scanner/barapp.c | 1 |
4 files changed, 0 insertions, 7 deletions
diff --git a/tests/repository/gitestrepo.c b/tests/repository/gitestrepo.c index 05ea5d94..b122a63d 100644 --- a/tests/repository/gitestrepo.c +++ b/tests/repository/gitestrepo.c @@ -48,8 +48,6 @@ main(int argc, char **argv) GType gtype; const char *prefix; - g_type_init (); - repo = g_irepository_get_default (); ret = g_irepository_require (repo, "Gio", NULL, 0, &error); diff --git a/tests/repository/gitestthrows.c b/tests/repository/gitestthrows.c index cce06849..a045a817 100644 --- a/tests/repository/gitestthrows.c +++ b/tests/repository/gitestthrows.c @@ -16,8 +16,6 @@ main(int argc, char **argv) GError *error; gboolean invoke_return; - g_type_init (); - repo = g_irepository_get_default (); error = NULL; diff --git a/tests/repository/gitypelibtest.c b/tests/repository/gitypelibtest.c index 7068ef3d..36770738 100644 --- a/tests/repository/gitypelibtest.c +++ b/tests/repository/gitypelibtest.c @@ -183,8 +183,6 @@ main(int argc, char **argv) { GIRepository *repo; - g_type_init (); - repo = g_irepository_get_default (); /* do tests */ diff --git a/tests/scanner/barapp.c b/tests/scanner/barapp.c index db4be8db..ed391204 100644 --- a/tests/scanner/barapp.c +++ b/tests/scanner/barapp.c @@ -54,7 +54,6 @@ main(int argc, char **argv) g_printerr ("usage: barapp --introspect-dump=types.txt,out.xml\\n"); return 1; } - g_type_init (); if (!g_irepository_dump (argv[1] + strlen (prefix), &error)) { |