[Bug 28751] tp_proxy_has_interface not introspectable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 14 12:09:34 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28751

Simon McVittie <simon.mcvittie at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-07-14 03:09:34 PDT ---
(In reply to comment #2)
> All 6 ++

Sorry, forgot to close this; Guillaume reviewed the branch and also approved
it. Fixed in git for 0.11.11.

> Although why (skip) the getters? Seems a little inconsistent since in general
> they're not skipped throughout the rest of the API.

If we have properties, is there much/any value in having getters too, for g-i?
For instance, in Python (assuming we bound this file at all):

    my_base_client.props.dbus_daemon
    my_base_client.get_dbus_daemon()

I basically consider these duplicate getters to be "C bindings" for the
properties, rather than a feature in their own right. Is that appropriate?

(This is more of a concern for getters that are called borrow_foo or dup_foo
because of their C semantics, which should basically be turned into "get" by
bindings anyway - if we keep these visible, we need to be careful to have the
g-i name for these be appropriate, perhaps with the "Rename to:" annotation, if
that works these days.)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the telepathy-bugs mailing list