diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2019-01-19 12:12:32 +0100 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2019-01-19 12:12:32 +0100 |
commit | cbea4ce7395935ecc1100ff1de23e500e92b2c46 (patch) | |
tree | ad921283100d77eefe2c803553653046e292b428 /libsecret/test-collection.c | |
parent | c5b734f4e86a8c25d5afa6525ca0513768fc2832 (diff) | |
download | libsecret-cbea4ce7395935ecc1100ff1de23e500e92b2c46.tar.gz |
Remove useless macro to check GLib version
We already require GLib to have version 2.38 or higher in
`configure.ac`, so no need to check in our code whether we have a
version higher than 2.35
Diffstat (limited to 'libsecret/test-collection.c')
-rw-r--r-- | libsecret/test-collection.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libsecret/test-collection.c b/libsecret/test-collection.c index 349935b..662c41d 100644 --- a/libsecret/test-collection.c +++ b/libsecret/test-collection.c @@ -997,9 +997,6 @@ main (int argc, char **argv) { g_test_init (&argc, &argv, NULL); g_set_prgname ("test-collection"); -#if !GLIB_CHECK_VERSION(2,35,0) - g_type_init (); -#endif g_test_add ("/collection/new-sync", Test, "mock-service-normal.py", setup, test_new_sync, teardown); g_test_add ("/collection/new-async", Test, "mock-service-normal.py", setup, test_new_async, teardown); |