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:
@ -142,8 +142,8 @@ check_monitor_store_configuration (MetaMonitorConfigStore *config_store,
|
||||
GList *k;
|
||||
int j;
|
||||
|
||||
g_assert (meta_rectangle_equal (&logical_monitor_config->layout,
|
||||
&config_expect->logical_monitors[i].layout));
|
||||
g_assert (mtk_rectangle_equal (&logical_monitor_config->layout,
|
||||
&config_expect->logical_monitors[i].layout));
|
||||
g_assert_cmpfloat (logical_monitor_config->scale,
|
||||
==,
|
||||
config_expect->logical_monitors[i].scale);
|
||||
|
Reference in New Issue
Block a user