[Bug 27792] add Vala bindings

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 12 17:43:53 CEST 2010


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

--- Comment #26 from Travis Reitter <travis.reitter at collabora.co.uk> 2010-07-12 08:43:53 PDT ---
(In reply to comment #24)
> (In reply to comment #23)
> > Now that the final Vala bugs are fixed, I've made a few trivial changes to
> > tp-glib to make libfolks work with these g-i based bindings.
> > 
> > Danielle, could you please review as well? -- I don't see any big problem with
> > exposing Capabilities.get_channel_classes(), but I remembered you blacklisted
> > it, and wasn't sure if it caused problems for any of the bindings you work
> > with.
> 
> It's skipped because we have no way to introspect the contents. It's one of
> those functions that would be nicer as a GVariant version (e.g.
> GVariant<a(a{sv}as)>).

OK, I guess I'll propose some API for that.

> > As far as the dbus-type utility functions, we can probably expose the rest of
> > them, but I figured it'd be safer to just start with the getter functions.
> 
> Again IMO it would be better to start offering alternative API with
> GHashTable<utf8,GVariant> or GVariant<a{sv}> then exposing all of this C
> convenience API into the bindings.
> 
> Both of these are probably less of an issue in Vala... thoughts?

The current API works fine in Vala, but so should your proposal.

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