display: Replace some meta_warning()
Some are replaced with g_warning(), some are not replaced yet, as they will be handled differently. One warning was turned into a META_DEBUG_DISPLAY, due to it being easily hit in CI, while being extremely unlikely otherwise. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005>
This commit is contained in:
parent
3a7e75e8b3
commit
a68b6dae6a
@ -1872,7 +1872,7 @@ meta_display_ping_window (MetaWindow *window,
|
||||
|
||||
if (serial == 0)
|
||||
{
|
||||
meta_warning ("Tried to ping window %s with a bad serial! Not allowed.",
|
||||
g_warning ("Tried to ping window %s with a bad serial! Not allowed.",
|
||||
window->desc);
|
||||
return;
|
||||
}
|
||||
@ -1894,7 +1894,8 @@ meta_display_ping_window (MetaWindow *window,
|
||||
|
||||
if (serial == pending_ping_data->serial)
|
||||
{
|
||||
meta_warning ("Ping serial %u was reused for window %s, "
|
||||
meta_topic (META_DEBUG_DISPLAY,
|
||||
"Ping serial %u was reused for window %s, "
|
||||
"previous use was for window %s.",
|
||||
serial, window->desc, pending_ping_data->window->desc);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user