diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/internals/refs.c | 5 | ||||
-rw-r--r-- | test/test-utils-glib.h | 8 |
2 files changed, 0 insertions, 13 deletions
diff --git a/test/internals/refs.c b/test/internals/refs.c index a4656622..f9776378 100644 --- a/test/internals/refs.c +++ b/test/internals/refs.c @@ -80,11 +80,6 @@ typedef struct { VoidFunc unlock; } Thread; -/* provide backwards compatibility shim when building with a glib <= 2.30.x */ -#if !GLIB_CHECK_VERSION(2,31,0) -#define g_thread_new(name,func,data) g_thread_create(func,data,TRUE,NULL) -#endif - static gpointer ref_thread (gpointer data) { diff --git a/test/test-utils-glib.h b/test/test-utils-glib.h index d4b2e614..2e1073f0 100644 --- a/test/test-utils-glib.h +++ b/test/test-utils-glib.h @@ -84,14 +84,6 @@ void test_init (int *argcp, char ***argvp); void test_progress (char symbol); -#if !GLIB_CHECK_VERSION (2, 38, 0) -#define g_test_skip(s) my_test_skip (s) -static inline void my_test_skip (const gchar *s) -{ - g_test_message ("SKIP: %s", s); -} -#endif - void test_remove_if_exists (const gchar *path); void test_rmdir_must_exist (const gchar *path); void test_rmdir_if_exists (const gchar *path); |