[Bug 27618] add TP_CONNECTION_FEATURE_CAPABILITIES

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 13 17:24:08 CEST 2010


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|                            |review-
           Keywords|patch                       |
         AssignedTo|telepathy-bugs at lists.freede |guillaume.desmottes at collabo
                   |sktop.org                   |ra.co.uk

--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-04-13 08:24:07 PDT ---
> +  PROP_CAPABILIES,

That's not how you spell capabilities.

> +   * The %TP_CAPABILITIES object representing the capabilities of this

The #TpCapabilities object ...

> +   * To wait for a valid capabilities, call tp_proxy_prepare_async() with

To wait for valid capability information, ...

> +  self->priv->capabilities = _tp_capabilities_new (g_value_get_boxed (value),

You need to check that the GValue contains the right boxed type first. If it
doesn't, consider the connection to have no capabilities, or make the
capabilities feature fail, or something.

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



More information about the telepathy-bugs mailing list