Use app_hash to find app to remove in response to NameOwnerChanged
authorMike Gorse <mgorse@suse.com>
Thu, 11 Sep 2014 19:31:51 +0000 (14:31 -0500)
committerMike Gorse <mgorse@suse.com>
Thu, 11 Sep 2014 19:31:51 +0000 (14:31 -0500)
commite49a52f124d7e10f3ae1ba8e2a6d7a50532de0f0
tree45370486a8c8d45863f84c4466dc6785f078e514
parent54d3b53515eb2ddbef32ad12446bd8c9fd731c3f
Use app_hash to find app to remove in response to NameOwnerChanged

Previously, we were fetching the desktop, and apparently this may return
NULL if the registry is gone. I'm not sure if this should be happening,
and I have no idea if there may be other NULL pointer dereferences in
that case, but this removes one of them and simplifies the code a bit.
atspi/atspi-misc.c