diff options
author | Bastien Nocera <hadess@hadess.net> | 2015-09-23 12:59:43 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2015-09-23 12:59:43 +0200 |
commit | 4d50af277d5f2dadbdef009fd60730eb5eae9b98 (patch) | |
tree | 4840a815aa66aa79440dcc22628e66079f861127 /tests | |
parent | cd9871c0a1cdb8fcc3a1b7a748e7c117d6547d94 (diff) | |
download | grilo-4d50af277d5f2dadbdef009fd60730eb5eae9b98.tar.gz |
tests: Remove GLIB_CHECK_VERSION check for unsupported version
Diffstat (limited to 'tests')
-rw-r--r-- | tests/registry.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/registry.c b/tests/registry.c index 79aca90..0326597 100644 --- a/tests/registry.c +++ b/tests/registry.c @@ -30,7 +30,6 @@ #define CHECK_MESSAGE(domain, error_message) \ (g_strcmp0 (log_domain, domain) == 0 && strstr (message, error_message)) -#if GLIB_CHECK_VERSION(2,22,0) static gboolean registry_load_error_handler (const gchar *log_domain, GLogLevelFlags log_level, @@ -47,7 +46,6 @@ registry_load_error_handler (const gchar *log_domain, return TRUE; } -#endif typedef struct { GrlRegistry *registry; @@ -57,9 +55,7 @@ typedef struct { static void registry_fixture_setup (RegistryFixture *fixture, gconstpointer data) { -#if GLIB_CHECK_VERSION(2,22,0) g_test_log_set_fatal_handler (registry_load_error_handler, NULL); -#endif fixture->registry = grl_registry_get_default (); fixture->loop = g_main_loop_new (NULL, TRUE); |