atspi_accessible_get_parent: move check for NULL AtspiApplication object
authorMike Gorse <mgorse@suse.com>
Mon, 8 May 2017 23:59:40 +0000 (18:59 -0500)
committerMike Gorse <mgorse@suse.com>
Mon, 8 May 2017 23:59:40 +0000 (18:59 -0500)
commit2347dad97cd903f6b7fed5a56b738e9ecdf80cac
tree9ceb804bb2fb27e9a35a36c7f6e7a7f5ed651b18
parent8013941fa9c22a9deeef22bb7feb2f2a081c8a2b
atspi_accessible_get_parent: move check for NULL AtspiApplication object

Now, if we don't have a cached parent, then we always either return NULL
or make a D-Bus call. This might make the code more robust, and hoping
that it will fix https://bugzilla.gnome.org/show_bug.cgi?id=767074,
though in theory it should make no difference there.
atspi/atspi-accessible.c