projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9f6c8c
)
accessible: remove an unneeded unref
author
Alejandro Piñeiro
<apinheiro@igalia.com>
Tue, 27 Aug 2013 14:00:00 +0000
(16:00 +0200)
committer
Alejandro Piñeiro
<apinheiro@igalia.com>
Tue, 27 Aug 2013 14:06:03 +0000
(16:06 +0200)
That unref is done inside an if that starts with a !parent condition, so
unrefing it doesn't makes sense
https://bugzilla.gnome.org/show_bug.cgi?id=706893
atspi/atspi-accessible.c
patch
|
blob
|
history
diff --git
a/atspi/atspi-accessible.c
b/atspi/atspi-accessible.c
index
0fff4fb
..
95ac311
100644
(file)
--- a/
atspi/atspi-accessible.c
+++ b/
atspi/atspi-accessible.c
@@
-672,7
+672,6
@@
atspi_accessible_get_application (AtspiAccessible *obj, GError **error)
if (root)
{
g_object_unref (obj);
- g_object_unref (parent);
if (atspi_accessible_get_role (root, NULL) == ATSPI_ROLE_DESKTOP_FRAME)
{
g_object_unref (root);