Bug 27912

Summary: Make GObject-Introspection for GArrays useful
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: enhancement    
Priority: medium CC: danielle, rishi.is, walters, xclaesse
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: introspection: add missing element-type annotations

Description Simon McVittie 2010-04-30 07:12:15 UTC
When there's a g-i version with Danielle's fixes, we can annotate GArrays with an element-type. (Until then, we can't - we'd crash gir-scanner.)

Blocked by https://bugzilla.gnome.org/show_bug.cgi?id=581687 being fixed in a release (being fixed in git is not sufficient).
Comment 1 Evan Nemerson 2012-12-12 04:15:06 UTC
Created attachment 71370 [details] [review]
introspection: add missing element-type annotations

That bug has been fixed for quite some time now, and g-ir-scanner recently started warning about missing element-type annotations [1].  Here is a patch which silences those warnings, two of which are from GArrays (as well as a third from a GPtrArray).

[1] http://git.gnome.org/browse/gobject-introspection/commit/?id=f8e95c68dc0e4a0fb35979db7415de8ec09e1e7e
Comment 2 Xavier Claessens 2012-12-12 09:12:15 UTC
The patch looks good, but which version of g-i does it need? please bump requirement in configure.ac.
Comment 3 Simon McVittie 2012-12-12 12:36:10 UTC
f84400b was in g-i 0.6.11, and we have depended on g-i 1.30 for about a year, so there's actually no need to increase the dependency.

I think these fixes would be OK on the 0.20 stable-branch, too.
Comment 4 Simon McVittie 2012-12-13 16:34:13 UTC
*** Bug 58247 has been marked as a duplicate of this bug. ***
Comment 5 GitLab Migration User 2019-12-03 20:02:47 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-glib/issues/30.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.