[mutter] tests/stage-view: Remove unnecessary warning supression



commit 190e285c23183c382814a9fe9703319685b82949
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Tue Jun 2 09:38:14 2020 +0200

    tests/stage-view: Remove unnecessary warning supression
    
    It doesn't occur anymore, so lets stop ignoring it.
    
    https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1285

 src/tests/stage-view-tests.c | 16 ----------------
 1 file changed, 16 deletions(-)
---
diff --git a/src/tests/stage-view-tests.c b/src/tests/stage-view-tests.c
index 65bfe52bd1..bbc5d8d5f6 100644
--- a/src/tests/stage-view-tests.c
+++ b/src/tests/stage-view-tests.c
@@ -48,20 +48,6 @@ run_tests (gpointer data)
   return G_SOURCE_REMOVE;
 }
 
-static gboolean
-ignore_frame_counter_warning (const gchar    *log_domain,
-                              GLogLevelFlags  log_level,
-                              const gchar    *message,
-                              gpointer        user_data)
-{
-  if ((log_level & G_LOG_LEVEL_WARNING) &&
-      g_strcmp0 (log_domain, "mutter") == 0 &&
-      g_str_has_suffix (message, FRAME_WARNING))
-    return FALSE;
-
-  return TRUE;
-}
-
 static MonitorTestCaseSetup initial_test_case_setup = {
   .modes = {
     {
@@ -547,8 +533,6 @@ main (int argc, char *argv[])
   meta_init ();
   meta_register_with_session ();
 
-  g_test_log_set_fatal_handler (ignore_frame_counter_warning, NULL);
-
   g_idle_add (run_tests, NULL);
 
   return meta_run ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]