[Bug 71093] finish making parameters fully typed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 3 03:38:41 PST 2014


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

--- Comment #15 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> ---
(In reply to comment #3)
> Created attachment 93128 [details] [review]
> [MC 1/9] Require account plugins to provide the ability to list  parameters
> 
> ---
> 
> Unanswered question: should get_typed_parameters() also return the parameter
> flags, like get_parameter() does? The parameter flags used to be for the
> SECRET flag, but having abolished that flag, I'm not sure what else we'd use
> it for.
> 
> Or maybe while we're breaking API already, we should delete the flags
> altogether?
> 
> (Worst case, callers can use get_parameter(..., NULL, &flags) to get just
> the flags, although that's pretty horrible.)

Humm wouldn't it be easier to return a struct/object then? Something like
TpConnectionManagerParam so we can have method to check if the param is secret
or not.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the telepathy-bugs mailing list