test-utils: Separate failable and non-failable functions
test_object_try_whatever() now has libdbus-like OOM handling, while test_object_whatever() has GLib-like OOM handling. This is because an overwhelming majority of the callers of these functions either didn't check for OOM anyway, or checked for it but then aborted. In the uncommon case where we do care, we can use the _try_ version. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=100317Reviewed-by:Philip Withnall <withnall@endlessm.com> Signed-off-by:
Simon McVittie <smcv@collabora.com>
Showing
Please register or sign in to comment