summaryrefslogtreecommitdiff
path: root/gck
diff options
context:
space:
mode:
Diffstat (limited to 'gck')
-rw-r--r--gck/test-gck-attributes.c3
-rw-r--r--gck/test-gck-crypto.c3
-rw-r--r--gck/test-gck-enumerator.c3
-rw-r--r--gck/test-gck-module.c3
-rw-r--r--gck/test-gck-modules.c3
-rw-r--r--gck/test-gck-object.c3
-rw-r--r--gck/test-gck-session.c3
-rw-r--r--gck/test-gck-slot.c3
-rw-r--r--gck/test-gck-uri.c3
9 files changed, 0 insertions, 27 deletions
diff --git a/gck/test-gck-attributes.c b/gck/test-gck-attributes.c
index 0cfd95e..c216ad1 100644
--- a/gck/test-gck-attributes.c
+++ b/gck/test-gck-attributes.c
@@ -1298,9 +1298,6 @@ test_find_attributes (void)
int
main (int argc, char **argv)
{
-#if !GLIB_CHECK_VERSION(2,35,0)
- g_type_init ();
-#endif
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/gck/value/to_boolean", test_value_to_boolean);
diff --git a/gck/test-gck-crypto.c b/gck/test-gck-crypto.c
index f2bd7f9..0cb3e2b 100644
--- a/gck/test-gck-crypto.c
+++ b/gck/test-gck-crypto.c
@@ -650,9 +650,6 @@ null_log_handler (const gchar *log_domain, GLogLevelFlags log_level,
int
main (int argc, char **argv)
{
-#if !GLIB_CHECK_VERSION(2,35,0)
- g_type_init ();
-#endif
g_test_init (&argc, &argv, NULL);
g_set_prgname ("test-gck-crypto");
diff --git a/gck/test-gck-enumerator.c b/gck/test-gck-enumerator.c
index 9d01c4c..90e7253 100644
--- a/gck/test-gck-enumerator.c
+++ b/gck/test-gck-enumerator.c
@@ -606,9 +606,6 @@ test_chained (Test *test,
int
main (int argc, char **argv)
{
-#if !GLIB_CHECK_VERSION(2,35,0)
- g_type_init ();
-#endif
g_test_init (&argc, &argv, NULL);
g_set_prgname ("test-gck-enumerator");
diff --git a/gck/test-gck-module.c b/gck/test-gck-module.c
index 068423f..1b33355 100644
--- a/gck/test-gck-module.c
+++ b/gck/test-gck-module.c
@@ -164,9 +164,6 @@ test_module_info (Test *test, gconstpointer unused)
int
main (int argc, char **argv)
{
-#if !GLIB_CHECK_VERSION(2,35,0)
- g_type_init ();
-#endif
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/gck/module/initialize_async", test_initialize_async);
diff --git a/gck/test-gck-modules.c b/gck/test-gck-modules.c
index 4307408..015c571 100644
--- a/gck/test-gck-modules.c
+++ b/gck/test-gck-modules.c
@@ -190,9 +190,6 @@ test_enumerate_uri (Test *test, gconstpointer unused)
int
main (int argc, char **argv)
{
-#if !GLIB_CHECK_VERSION(2,35,0)
- g_type_init ();
-#endif
g_test_init (&argc, &argv, NULL);
g_test_add ("/gck/modules/enumerate_objects", Test, NULL, setup, test_enumerate_objects, teardown);
diff --git a/gck/test-gck-object.c b/gck/test-gck-object.c
index 9622bb2..3f782eb 100644
--- a/gck/test-gck-object.c
+++ b/gck/test-gck-object.c
@@ -397,9 +397,6 @@ test_find_objects (Test *test, gconstpointer unused)
int
main (int argc, char **argv)
{
-#if !GLIB_CHECK_VERSION(2,35,0)
- g_type_init ();
-#endif
g_test_init (&argc, &argv, NULL);
g_test_add ("/gck/object/object_props", Test, NULL, setup, test_object_props, teardown);
diff --git a/gck/test-gck-session.c b/gck/test-gck-session.c
index 19c3361..cedb436 100644
--- a/gck/test-gck-session.c
+++ b/gck/test-gck-session.c
@@ -501,9 +501,6 @@ test_auto_login (Test *test, gconstpointer unused)
int
main (int argc, char **argv)
{
-#if !GLIB_CHECK_VERSION(2,35,0)
- g_type_init ();
-#endif
g_test_init (&argc, &argv, NULL);
g_set_prgname ("test-gck-session");
diff --git a/gck/test-gck-slot.c b/gck/test-gck-slot.c
index 4661d49..b8bcecf 100644
--- a/gck/test-gck-slot.c
+++ b/gck/test-gck-slot.c
@@ -241,9 +241,6 @@ test_token_info_match_different (Test *test, gconstpointer unused)
int
main (int argc, char **argv)
{
-#if !GLIB_CHECK_VERSION(2,35,0)
- g_type_init ();
-#endif
g_test_init (&argc, &argv, NULL);
g_test_add ("/gck/slot/slot_info", Test, NULL, setup, test_slot_info, teardown);
diff --git a/gck/test-gck-uri.c b/gck/test-gck-uri.c
index 39ef9f1..ae49d09 100644
--- a/gck/test-gck-uri.c
+++ b/gck/test-gck-uri.c
@@ -524,9 +524,6 @@ null_log_handler (const gchar *log_domain, GLogLevelFlags log_level,
int
main (int argc, char **argv)
{
-#if !GLIB_CHECK_VERSION(2,35,0)
- g_type_init ();
-#endif
g_test_init (&argc, &argv, NULL);
/* Suppress these messages in tests */