gdbus: Don't register DBus.Properties with no properties
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 29 Nov 2012 13:19:31 +0000 (11:19 -0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 29 Nov 2012 16:39:50 +0000 (17:39 +0100)
commit912ee62e8053a4cf797351d64f27cab8ead2b820
tree858352f38f709afcc66997791e942b62e3ecb3d5
parent9d043a0a4c742f5a369d37062c5b70013656a8f4
gdbus: Don't register DBus.Properties with no properties

Delay registering DBus.Properties interface until the moment there are
properties on that path. This is needed for objects that currently don't
expose any property to not export the interface.
gdbus/object.c