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)
commitc3828323c28d2c84ab16c76c715756fe128401ea
tree381cb1b28df7d6eb319d119cc0ede5d633875cfe
parent7a407c66dbf06a817a78f255bfb4238d1917bbfa
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
legacy/edbus/src/lib/edbus_service.c