Summary: | [PATCH] Add accessor to return the DBusGConnection from the DBusGMethodInvocation | ||
---|---|---|---|
Product: | dbus | Reporter: | Dan Williams <dcbw> |
Component: | GLib | Assignee: | Simon McVittie <smcv> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Add accessor to return the DBusGConnection that a DBusGMethodInvocation was invoked on
Add accessor to return the DBusGConnection that a DBusGMethodInvocation was invoked on |
Description
Dan Williams
2012-10-07 15:17:21 UTC
Comment on attachment 68212 [details] [review] Add accessor to return the DBusGConnection that a DBusGMethodInvocation was invoked on Review of attachment 68212 [details] [review]: ----------------------------------------------------------------- Sounds fine to me, just a couple of comments about the doc-comment. ::: dbus/dbus-gobject.c @@ +3277,5 @@ > } > > +/** > + * dbus_g_method_invocation_get_g_connection: > + * @context: the method context There should be some sort of "content" in this doc-comment to placate gtk-doc. In telepathy-glib we usually do this: /** * foo_get_bar: * @foo: blah blah blah * * <!-- Returns: says it all --> * * Returns: blah blah blah */ @@ +3279,5 @@ > +/** > + * dbus_g_method_invocation_get_g_connection: > + * @context: the method context > + * > + * Returns: the @DBusGConnection from which the method was called. I'd like a (transfer none) annotation here - dbus-glib isn't introspectable anyway, but it's useful information for gtk-doc too. Created attachment 68264 [details] [review] Add accessor to return the DBusGConnection that a DBusGMethodInvocation was invoked on Fixed in git for 0.102, thanks |
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.