After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 681406 - Incorrect c:type for array parameters using []
Incorrect c:type for array parameters using []
Status: RESOLVED DUPLICATE of bug 567993
Product: gobject-introspection
Classification: Platform
Component: general
2.33.x
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-08-07 19:53 UTC by Phil Clayton
Modified: 2015-02-07 16:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Phil Clayton 2012-08-07 19:53:02 UTC
A few gtk functions specify array arguments as e.g.

  const gchar *names[]

rather than

  const gchar **names

This causes the c:type stored in GIR files to be incorrect (missing one level of indirection).  Known examples are

  gtk_icon_theme_choose_icon
  gtk_icon_theme_get_search_path
  gtk_icon_theme_set_search_path

From #introspection:
<pclayton> should introspection support this, or should gtk functions be adjusted for the latter style?
<pclayton> i.e. should I raise a bug for gtk or introspection?
<walters> pclayton: ideally we'd fix it both ways
Comment 1 Simon Feltman 2013-09-13 22:47:06 UTC

*** This bug has been marked as a duplicate of bug 567993 ***
Comment 2 André Klapper 2015-02-07 16:49:17 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]