gdbus: Don't include just added interfaces in GetManagedObjects
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Fri, 4 Jan 2013 03:33:44 +0000 (01:33 -0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 4 Jan 2013 05:34:18 +0000 (21:34 -0800)
commita39520e1be30b62e0f537dd7dfaf9c553c179bc9
treed73d91916bd1984aedf46696972d5ac969a5ac4c
parent74824802943d90fa9917536eda458337016e0df3
gdbus: Don't include just added interfaces in GetManagedObjects

If we received a call to ObjectManager.GetManagedObject we should not
include in the response the interfaces in data->added. This is because
it's not guaranteed that those interfaces will trigger an
InterfacesAdded signal, which is the case if the interface is removed in
the same mainloop iteration.
gdbus/object.c