[at-spi2-core] atspi_application_dispose: clear root accessible's ref to the app
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] atspi_application_dispose: clear root accessible's ref to the app
- Date: Wed, 25 Jan 2017 00:09:49 +0000 (UTC)
commit 329ef2c4ebcb3aec6dcfcac15357fd583a60c969
Author: Mike Gorse <mgorse suse com>
Date: Tue Jan 24 18:10:52 2017 -0600
atspi_application_dispose: clear root accessible's ref to the app
Hoping that this might fix https://bugzilla.gnome.org/show_bug.cgi?id=767074
atspi/atspi-application.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/atspi/atspi-application.c b/atspi/atspi-application.c
index 65cabdc..f7dd225 100644
--- a/atspi/atspi-application.c
+++ b/atspi/atspi-application.c
@@ -58,6 +58,7 @@ atspi_application_dispose (GObject *object)
if (application->root)
{
+ g_clear_object (&application->root->parent.app);
g_object_unref (application->root);
application->root = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]