From 14380c8373c843666b998d0fd7861a3ce1a90137 Mon Sep 17 00:00:00 2001 From: "jabber.developer2" Date: Thu, 21 May 2026 12:31:15 +0300 Subject: [PATCH] tests: add ui_is_suspended stub (upstream 3326ce5c6) Add stub for ui_is_suspended() in tests/unittests/ui/stub_ui.c so the unit-test binary links cleanly against any code path that calls it from non-UI translation units. --- tests/unittests/ui/stub_ui.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index 14afbc40..2d5da2ef 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -1469,3 +1469,9 @@ cons_has_alerts(void) { return FALSE; } + +gboolean +ui_is_suspended(void) +{ + return FALSE; +}