workspace: Replace meta_warning() with g_warning()
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005>
This commit is contained in:
parent
ed02ce79e9
commit
e88205379b
@ -914,7 +914,7 @@ ensure_work_areas_validated (MetaWorkspace *workspace)
|
|||||||
if (work_area.width < MIN_SANE_AREA &&
|
if (work_area.width < MIN_SANE_AREA &&
|
||||||
work_area.width != display_rect.width)
|
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",
|
"available remaining width = %d < %d",
|
||||||
work_area.width, MIN_SANE_AREA);
|
work_area.width, MIN_SANE_AREA);
|
||||||
if (work_area.width < 1)
|
if (work_area.width < 1)
|
||||||
@ -932,7 +932,7 @@ ensure_work_areas_validated (MetaWorkspace *workspace)
|
|||||||
if (work_area.height < MIN_SANE_AREA &&
|
if (work_area.height < MIN_SANE_AREA &&
|
||||||
work_area.height != display_rect.height)
|
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",
|
"available remaining height = %d < %d",
|
||||||
work_area.height, MIN_SANE_AREA);
|
work_area.height, MIN_SANE_AREA);
|
||||||
if (work_area.height < 1)
|
if (work_area.height < 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user