workspace: Replace meta_warning() with g_warning()

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005>
This commit is contained in:
Jonas Ådahl 2024-12-31 00:13:53 +01:00 committed by Marge Bot
parent ed02ce79e9
commit e88205379b

View File

@ -914,7 +914,7 @@ ensure_work_areas_validated (MetaWorkspace *workspace)
if (work_area.width < MIN_SANE_AREA &&
work_area.width != display_rect.width)
{
meta_warning ("struts occupy an unusually large percentage of the screen; "
g_warning ("struts occupy an unusually large percentage of the screen; "
"available remaining width = %d < %d",
work_area.width, MIN_SANE_AREA);
if (work_area.width < 1)
@ -932,7 +932,7 @@ ensure_work_areas_validated (MetaWorkspace *workspace)
if (work_area.height < MIN_SANE_AREA &&
work_area.height != display_rect.height)
{
meta_warning ("struts occupy an unusually large percentage of the screen; "
g_warning ("struts occupy an unusually large percentage of the screen; "
"available remaining height = %d < %d",
work_area.height, MIN_SANE_AREA);
if (work_area.height < 1)