[Bug 30460] Generate client side API for Chan.T.ServerTLSConnection and TLSCertificate

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 19 12:51:37 CEST 2012


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

--- Comment #12 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> 2012-04-19 03:51:37 PDT ---
(In reply to comment #9)
> +  GPtrArray *cert_data;
> 
> I don't know what type we should use for this in the glorious GIO-compatible
> future, but I feel that GPtrArray<GArray<guchar>> is probably not it.
> 
> Perhaps GList<GByteArray>, or GList<GBytes> with a GLib 2.32 dependency?
> 
> Using a GList would mean we can't make it a property.
> 
> If in doubt, make it not be a property, and we can give it a GList<GByteArray>
> getter now, and a GList<GBytes> getter later?

Why not use GPtrArray<GByteArray> or GPtrArray<GBytes> so it can be a property?
As I already said in bug #39189 I don't list GList * as a public container.

I don't think we should refrain us from depending on GLib 2.32 btw.

-- 
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