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 623224 - vapigen doesn't support g-i "introspectable" attribute
vapigen doesn't support g-i "introspectable" attribute
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Code Generator
0.9.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-30 17:16 UTC by Travis Reitter
Modified: 2010-06-30 22:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Travis Reitter 2010-06-30 17:16:13 UTC
In gobject-introspection annotation, if a symbol has the (skip) annotation, it gets the attribute introspectable="0" in the resulting .gir file.

If this introspectable=0 symbol depends on other symbols that cannot be resolved (eg, DBusGConnection, because we're not including dbus-glib or its .gir file), vapigen will fail trying to resolve them.

Instead, vapigen should just ignore un-introspectable symbols, as it is expected to do.
Comment 1 Jürg Billeter 2010-06-30 22:28:29 UTC
commit 236cd65847a44ddfec2cc8e93a02af2e50ca5d5e
Author: Jürg Billeter <j@bitron.ch>
Date:   Thu Jul 1 00:26:48 2010 +0200

    girparser: Skip elements with introspectable="0"
    
    Fixes bug 623224.