edbus: Fix search of children objects when path = "/"
authorJosé Roberto de Souza <zehortigoza@profusion.mobi>
Fri, 16 Nov 2012 13:07:38 +0000 (13:07 +0000)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Fri, 16 Nov 2012 13:07:38 +0000 (13:07 +0000)
commitd329bf622e93a4dc3ca92faec1059cd770330cb6
tree93e8fb983efcdc6caba1a36dfe5f3bdccdeccf4f
parent46c8d2dbaab389c742b3dde99aaba8fe4ee45fd2
edbus: Fix search of children objects when path = "/"

Example: there's an object in "/org/bla" and we are adding an object in
"/". Thus the second should becaome the parent of the first, which was a
root object since it had no parent yet.

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>

SVN revision: 79386
src/lib/edbus_service.c