From 64b2dc5b7f519623339524a5171973a24703533c Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 24 Aug 2021 00:27:52 +0200 Subject: Replace deprecated pre-processor symbols --- tests/test-snap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-snap.cpp b/tests/test-snap.cpp index 1904bef..afee297 100644 --- a/tests/test-snap.cpp +++ b/tests/test-snap.cpp @@ -347,8 +347,8 @@ protected: while (((system_bus != nullptr) || (session_bus != nullptr)) && (cleartry < 50)) { g_usleep(100000); - while (g_main_pending()) - g_main_iteration(true); + while (g_main_context_pending(nullptr)) + g_main_context_iteration(nullptr, true); cleartry++; } -- cgit v1.2.3