registryd: Wait for session manager to start before registering with it
authorDavid Liang <liangchenye@gmail.com>
Sun, 27 Apr 2014 20:03:08 +0000 (15:03 -0500)
committerMike Gorse <mgorse@suse.com>
Sun, 27 Apr 2014 20:03:08 +0000 (15:03 -0500)
commite052585d5b796aa47c73c0f49eb31cf906c4e65f
tree7800eb9df26b9ab10dafe95529c4550d939c3ced
parentb62063e1fe017b7db94bdec212d0896de536abe3
registryd: Wait for session manager to start before registering with it

We have a race where at-spi2-registryd tries to register with the session
manager before it has fully initialized. Let's wait for a SessionRunning
signal before initializing.

https://bugzilla.gnome.org/show_bug.cgi?id=728934
registryd/registry-main.c