Created attachment 22042 [details] [review] dbus-glib-0.76-private.patch dbus_bus_get_private is not exposed in dbus-glib.
* Small typo, should be "returns DBusGConnection". * Could use at least one test too.
I now see that the documentation part was a bit too hasty: + * Returns a connection to the given bus. The connection is a global variable + * shared with other callers of this function. Should probably have stated that + * Returns a connection to the given bus. The connection will be a private + * non-shared connection, that the caller should close when not used anymore. I spent more time in testing the wrapper than finewriting the documentation
*** This bug has been marked as a duplicate of bug 10095 ***
Comment on attachment 22042 [details] [review] dbus-glib-0.76-private.patch Looks good.
Tweaked the documentation and pushed: commit 980b46870aa0e44a04ad1191d7af1d0601577501 Author: Stian Skjelstad <stian@nixia.no> Date: Fri Sep 18 14:01:00 2009 -0400 Bug 19623 - Add dbus_g_bus_get_private Useful for cases where you have to get a private connection, among them to work around threading issues. Signed-off-by: Colin Walters <walters@verbum.org>
*** Bug 23722 has been marked as a duplicate of this bug. ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.