Only reenter the main loop if AT_SPI_CLIENT is set
authorMike Gorse <mgorse@novell.com>
Sun, 14 Mar 2010 12:49:49 +0000 (08:49 -0400)
committerMike Gorse <mgorse@novell.com>
Sun, 14 Mar 2010 12:49:49 +0000 (08:49 -0400)
commit34cdfbd948620d091d55b15f92dbfc462c19efd8
treeb552eb8206c433b58721d7ae77abe99f1895d793
parent1679785bff78813119a9c55c2e3ce2154dafb473
Only reenter the main loop if AT_SPI_CLIENT is set

If AT_SPI_CLIENT is not set, call dbus_connection_read_write_dispatch instead
of re-entering the main loop.  Fixes a deadlock with threaded gtk
applications (ie, gnome-do) where gdk would lock while sending a signal,
at-spi would re-enter the main loop, and gdk would try to process another
signal an re-acquire the lock, causing deadlock because the lock is not
reentrant.
atk-adaptor/event.c