diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-07-30 12:38:40 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-07-30 12:39:02 +0200 |
commit | e633d1f5ad23e6ef092c0b5cfac1baa6c1c057dd (patch) | |
tree | ddc57b6131879c205a21a74c279bcdf251e87d57 /test/test-mock.c | |
parent | a89b2093e293deb2368086c4f014a667b7d118dd (diff) | |
download | uca-e633d1f5ad23e6ef092c0b5cfac1baa6c1c057dd.tar.gz uca-e633d1f5ad23e6ef092c0b5cfac1baa6c1c057dd.tar.bz2 uca-e633d1f5ad23e6ef092c0b5cfac1baa6c1c057dd.tar.xz uca-e633d1f5ad23e6ef092c0b5cfac1baa6c1c057dd.zip |
Avoid annoying g_type_init deprecation warnings
Diffstat (limited to 'test/test-mock.c')
-rw-r--r-- | test/test-mock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-mock.c b/test/test-mock.c index 10c0a36..facae53 100644 --- a/test/test-mock.c +++ b/test/test-mock.c @@ -223,7 +223,9 @@ test_signal (Fixture *fixture, gconstpointer data) int main (int argc, char *argv[]) { +#if !(GLIB_CHECK_VERSION (2, 36, 0)) g_type_init (); +#endif g_test_init (&argc, &argv, NULL); g_test_bug_base ("http://ufo.kit.edu/ufo/ticket"); |