[Bug 27792] add Vala bindings

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 17 20:11:10 CEST 2010


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

--- Comment #13 from Travis Reitter <travis.reitter at collabora.co.uk> 2010-06-17 11:11:10 PDT ---
(In reply to comment #11)
> (In reply to comment #10)

> It will be TelepathyGLib.ConnectionStatus etc. -- I don't know whether PyGI/GJS
> does any specific validation on this value. Will have to check.

Oddly enough, gi/Vala translated to this for me (which is why I didn't catch
this earlier). And I ended up removing this patch anyhow, so it's a moot point,
but I'll be sure to use the TelepathyGLib namespace in the future (for
consistency/etc.).

> > It seems that Danni specifically annotated this to be of element type uint:
> > deleting the element-type annotation ought to make it be Handle automatically.
> > Ask Danni whether annotating it back to Handle will break Python/JS?
> 
> Yeah, this was added because gjs doesn't handle arrays of non-basic types very
> well.

Is that true for all generics (eg, GLib.HashTable), or just primitive arrays?

We'll see how it all shakes out, but Vala is pretty good about this, so I'd
hate to do a bunch of casting around generics in other cases.

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