[Bug 71093] finish making parameters fully typed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 4 01:03:53 PST 2014


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

--- Comment #31 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> ---
(In reply to comment #24)
> (In reply to comment #13)
> > [tp-glib master 1/2] tp_connection_manager_param_dup_variant_type: add
> > shouldn't you annotate this (transfer full)?
> 
> Er, yes. I assume the telepathy-glib bits are OK with that change?

yep.

> (In reply to comment #15)
> > 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.
> 
> If we're going to allow for future expansion like this, I think I'd rather
> make the vfunc return a list of names (strv of strings, probably) like
> get_untyped_parameters() does, and iterate through that calling
> get_parameter() for each one - that seems simpler than inventing objects.
> Would that be OK from your point of view?

Yeah that's fine.

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


More information about the telepathy-bugs mailing list