[Telepathy] MissionControl's spec

Xavier Claessens xclaesse at gmail.com
Fri Jan 4 12:51:01 PST 2008


UnsetParameters added to spec.

2008/1/4, Simon McVittie <simon.mcvittie at collabora.co.uk>:
>
> On Thu, 03 Jan 2008 at 21:12:27 +0100, Xavier Claessens wrote:
> >
> > On jeu, 2008-01-03 at 15:50 +0200, Alberto Mardegan wrote:
> > > Hi, another topic: parameters.
> > > The currently proposed  UpdateParameters() doesn't allow unsetting of
> a
> > > parameter.
> > > Should we add a SetParameters() method, or are there other
> suggestiong?
> >
> > Good point. UpdateParameters() gives a GValue, can't it represents an
> > empty value? Otherwise we need something like UnsetParameters(as).
>
> No, it's not a GValue: it's a D-Bus variant, as represented in dbus-glib
> 0.x by a GValue. D-Bus variants can't hold a null value, so yes, if we
> want
> parameter removal, we need either UnsetParameters(as) or
> SetParameters(a{sv}).
>
>     Simon
> _______________________________________________
> Telepathy mailing list
> Telepathy at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/telepathy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/telepathy/attachments/20080104/d39e2e62/attachment.htm 


More information about the Telepathy mailing list