diff options
author | Alejandro Piñeiro <apinheiro@igalia.com> | 2013-08-27 16:00:00 +0200 |
---|---|---|
committer | Alejandro Piñeiro <apinheiro@igalia.com> | 2013-08-27 16:06:03 +0200 |
commit | 05b7a69e35579f45e5316a8c21f6abb60e54309f (patch) | |
tree | b572858405e8fd4d0da23d506089a961b2c4636b /atspi/atspi-accessible.c | |
parent | f9f6c8c2bc80e3991c1def9840102f1405b66dd9 (diff) | |
download | at-spi2-core-05b7a69e35579f45e5316a8c21f6abb60e54309f.tar.gz |
accessible: remove an unneeded unref
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
Diffstat (limited to 'atspi/atspi-accessible.c')
-rw-r--r-- | atspi/atspi-accessible.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/atspi/atspi-accessible.c b/atspi/atspi-accessible.c index 0fff4fb2..95ac311a 100644 --- 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); |