Problems with dbus_connection_list_registered

Olivier Andrieu oliv__a at users.sourceforge.net
Thu Jul 8 01:38:01 PDT 2004


 sampo.nurmentaus at movial.fi [Thu, 8 Jul 2004]:
 > Hello folks,
 > 
 > I am trying to write a code that lists the
 > services registered to DBUS. Unfortunately
 > there seems to be a problem with this.
 > 
 > No matter what I do give as parent path
 > no childs are returned.

Are you using the CVS version or a tarball ? This was fixed (I
believe) in the CVS:

,----[ ChangeLog ]
| 2004-05-21  Olivier Andrieu  <oliv__a at users.sourceforge.net>
|  
|         * dbus/dbus-object-tree.c
|         (_dbus_object_tree_list_registered_unlock, lookup_subtree): return
|         children even if the requested path isn't registered.
|         (object_tree_test_iteration): test object_tree_list_registered. 
`----

-- 
   Olivier



More information about the dbus mailing list