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
This commit is contained in:
Jonas Ådahl 2020-06-02 09:38:14 +02:00
parent a9a9a0d1c5
commit 190e285c23

View File

@ -48,20 +48,6 @@ run_tests (gpointer data)
return G_SOURCE_REMOVE; 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 = { static MonitorTestCaseSetup initial_test_case_setup = {
.modes = { .modes = {
{ {
@ -547,8 +533,6 @@ main (int argc, char *argv[])
meta_init (); meta_init ();
meta_register_with_session (); meta_register_with_session ();
g_test_log_set_fatal_handler (ignore_frame_counter_warning, NULL);
g_idle_add (run_tests, NULL); g_idle_add (run_tests, NULL);
return meta_run (); return meta_run ();