Summary: | dbus_bus_get_private doesn't have a dbus-glib wrapper | ||
---|---|---|---|
Product: | dbus | Reporter: | Stian Skjelstad <stian> |
Component: | GLib | Assignee: | Rob Taylor <rob.taylor> |
Status: | RESOLVED DUPLICATE | QA Contact: | John (J5) Palmieri <johnp> |
Severity: | normal | ||
Priority: | low | CC: | david.tucker, walters |
Version: | unspecified | Keywords: | patch |
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | dbus-glib-0.76-private.patch |
Description
Stian Skjelstad
2009-01-16 15:41:10 UTC
* 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> |
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.