aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:16:57 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:16:57 +0200
commitdd625d44fbbb0725e2439ed5b675e68b50d94c2e (patch)
tree2bcae6208377ea159cf2c58965bf234aef4de4b1
parent4e0cb01058debf6b4e0b4cea84da74a857414858 (diff)
parent61b101932dfd68331145f643110155f282a0334c (diff)
downloadayatana-indicator-datetime-dd625d44fbbb0725e2439ed5b675e68b50d94c2e.tar.gz
ayatana-indicator-datetime-dd625d44fbbb0725e2439ed5b675e68b50d94c2e.tar.bz2
ayatana-indicator-datetime-dd625d44fbbb0725e2439ed5b675e68b50d94c2e.zip
Merge branch 'tari01-pr/fix-deprecations'
Attributes GH PR #49: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/49
-rw-r--r--tests/test-snap.cpp4
1 files 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++;
}