BGO#658013: Add timeout to check for disconnect on a key listener
authorMike Gorse <mgorse@novell.com>
Mon, 19 Sep 2011 21:05:58 +0000 (16:05 -0500)
committerMike Gorse <mgorse@novell.com>
Mon, 19 Sep 2011 21:12:05 +0000 (16:12 -0500)
commitecba2419cee6cb34695b24bc38664409a28eaa0e
tree25d75445e370aa8d382ad432d550662e63ef7af5
parentd58210d72b95dac90b61676dd8b2c0d1a917cf68
BGO#658013: Add timeout to check for disconnect on a key listener

For some reason, if the dbus connection goes away during a call to
NotifyListenersSync, the DBusPendingCall is not notified.  This may be a
libdbus bug.  Working around the issue by adding a timeout that will
check for a disconnect and abort the call as needed.
atk-adaptor/event.c