[Bug 27792] add Vala bindings

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 17 13:39:29 CEST 2010


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

--- Comment #11 from Danielle Madeley <danielle.madeley at collabora.co.uk> 2010-06-17 04:39:29 PDT ---
(In reply to comment #10)

> http://git.collabora.co.uk/?p=user/treitter/telepathy-glib.git;a=commitdiff;h=341964c1fc269c6b
> > Return value: (element-type GLib.Value):

Also it's GObject.Value

> http://git.collabora.co.uk/?p=user/treitter/telepathy-glib.git;a=commitdiff;h=4dc1c9bbbb84c790a
> > Add a few more g-i annotations for (uint -> TpHandle) and (uint -> TpConnectionStatus
> 
> This is two patches, as the commit message indicates :-P
> 
> > -   * @old_status: old #TpAccount:connection-status
> > -   * @new_status: new #TpAccount:connection-status
> > -   * @reason: the #TpAccount:connection-status-reason
> > +   * @old_status: (type TpConnectionStatus): old #TpAccount:connection-status
> > +   * @new_status: (type TpConnectionStatus): new #TpAccount:connection-status
> > +   * @reason: (type TpConnectionStatusReason): the
> > +   *  #TpAccount:connection-status-reason

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

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

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