GNOME Bugzilla – Bug 678539
Wish: g_dbus_object_manager_server_is_exported()
Last modified: 2012-06-22 03:42:52 UTC
Created attachment 216915 [details] [review] Proposed patch Had a use case come up in Evolution-Data-Server where I needed to determine whether a GDBusObjectSkeleton was currently exported and skip some action if it's not exported. GDBusObjectManagerServer knows this but doesn't share. I was able to determine the export state by other means, but it would be nice to just ask the object manager server directly. Internally this just looks up an object path in the "map_object_path_to_data" hash table and returns TRUE if it gets a hit.
Sure, makes sense to me. Please commit.
http://git.gnome.org/browse/glib/commit/?id=49e50757076b589bd21274221b3f69f7b2b785f3