Avoid a race in application registration
authorMatthias Clasen <mclasen@redhat.com>
Sat, 12 Jun 2010 22:40:45 +0000 (18:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 13 Jun 2010 05:03:10 +0000 (01:03 -0400)
commitfdb15058a4625e0f2eb56c56d945e032d8a833ca
tree0227724b93b59913f2e280959a2556ca663e77a7
parent5e03f273be30d0f5756102d49b20bbabc5743113
Avoid a race in application registration

We need to register the object before taking the name.
Remove the workarounds for this race from the test suite.
gio/gdbusapplication.c
gio/tests/testapps.c