Philip Withnall c14810e08f
tests: Fix calls to deprecated API in unix-mounts tests
This fixes commit aac56f1618aabfcf4c6b3ef1ee5b87322208e9ad — I missed
this while reviewing it, but the unit tests were partially changed to
call the new APIs, without being fully changed. This caused the build to
succeed on Linux, but fail on macOS due to using a deprecated API.

Actually, a better approach for the unit tests would be to consistently
call the *old* APIs, as they all immediately call the new APIs. Then we
get coverage of both old and new for free, at the cost of putting
`G_GNUC_BEGIN_IGNORE_DEPRECATIONS` at the top of the test file.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3492
2024-10-22 16:15:18 +01:00
..
2024-09-27 11:41:33 +08:00
2024-05-09 15:03:55 +00:00
2024-09-27 21:45:33 +02:00
2023-01-27 11:58:56 +03:00
2020-11-17 15:50:07 +00:00