[at-spi2-atk: 1/2] Clear registration_pending during registration
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk: 1/2] Clear registration_pending during registration
- Date: Mon, 19 Aug 2019 15:21:42 +0000 (UTC)
commit cb9dded7ce823d97782dc63a45be50444908e999
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date: Sun Aug 18 15:09:56 2019 +0200
Clear registration_pending during registration
Otherwise switch_main_context will keep trying to remove it and schedule
yet another one.
Fixes https://gitlab.gnome.org/GNOME/at-spi2-core/issues/16
atk-adaptor/bridge.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c
index fe09e84..5079269 100644
--- a/atk-adaptor/bridge.c
+++ b/atk-adaptor/bridge.c
@@ -411,6 +411,8 @@ _atk_bridge_register_application (gpointer data)
DBusMessageIter iter;
DBusPendingCall *pending;
+ spi_global_app_data->registration_pending = 0;
+
g_free (app->desktop_name);
g_free (app->desktop_path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]