mtk: Move Rectangle.equal from Meta

Moves equal the equal function and removes the clutter equivalent. The
tests were not moved until all the remaining helper functions are moved.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3128>
This commit is contained in:
Bilal Elmoussaoui
2023-07-19 17:14:13 +02:00
parent 918ae0f4d4
commit 9b2cba4e86
23 changed files with 87 additions and 91 deletions

View File

@ -216,7 +216,7 @@ logical_monitor_from_layout (MetaMonitorManager *monitor_manager,
{
MetaLogicalMonitor *logical_monitor = l->data;
if (meta_rectangle_equal (layout, &logical_monitor->rect))
if (mtk_rectangle_equal (layout, &logical_monitor->rect))
return logical_monitor;
}