[libshumate] tests: Remove unused fatal log handler
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libshumate] tests: Remove unused fatal log handler
- Date: Fri, 5 Mar 2021 13:23:15 +0000 (UTC)
commit 79f35b3c51887f965018a4ceda199776131e128d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Mar 4 21:22:31 2021 -0300
tests: Remove unused fatal log handler
I used it to debug the viewport test, but apparently forgot to delete it.
tests/viewport.c | 14 --------------
1 file changed, 14 deletions(-)
---
diff --git a/tests/viewport.c b/tests/viewport.c
index 96ebf96..670dbb7 100644
--- a/tests/viewport.c
+++ b/tests/viewport.c
@@ -41,20 +41,6 @@ test_viewport_zoom_level_max (void)
g_assert_cmpuint (shumate_viewport_get_zoom_level (viewport), ==, 10);
}
-static gboolean
-fatal_handler_func (const gchar *log_domain,
- GLogLevelFlags log_level,
- const gchar *message,
- gpointer user_data)
-{
- printf ("New fatal log: %s - %d - %s (%d %d %d)\n",
- log_domain, log_level, message,
- G_LOG_LEVEL_ERROR,
- G_LOG_LEVEL_CRITICAL,
- G_LOG_LEVEL_WARNING);
- return TRUE;
-}
-
static void
test_viewport_zoom_level_clamp (void)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]