diff options
author | Robert Tari <robert@tari.in> | 2021-08-24 00:27:52 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-08-24 00:27:52 +0200 |
commit | 64b2dc5b7f519623339524a5171973a24703533c (patch) | |
tree | a5c078e18221a175803b0a749ea075ccd7c7487b /tests | |
parent | b7df3c0dbe5494c9a396836f732604dad377f109 (diff) | |
download | ayatana-indicator-datetime-64b2dc5b7f519623339524a5171973a24703533c.tar.gz ayatana-indicator-datetime-64b2dc5b7f519623339524a5171973a24703533c.tar.bz2 ayatana-indicator-datetime-64b2dc5b7f519623339524a5171973a24703533c.zip |
Replace deprecated pre-processor symbols
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-snap.cpp | 4 |
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++; } |