diff options
author | Laszlo Pandy <lpandy@src.gnome.org> | 2011-02-22 16:02:12 +0100 |
---|---|---|
committer | Laszlo Pandy <lpandy@src.gnome.org> | 2011-02-23 13:55:04 +0100 |
commit | ed94a687d874c655386bcef662eb659aaca83ac5 (patch) | |
tree | 3fb3e3ba5ac424cb81ccf9ea49c1dc92fca8eea5 /girepository/cmph/chm.c | |
parent | 3fe4ad82003a5472c44585627f86e5883772acca (diff) | |
download | gobject-introspection-GOBJECT_INTROSPECTION_0_10_3.tar.gz |
Add "c:identifier" attribute to GIrNodeValue (for flags and enum values).GOBJECT_INTROSPECTION_0_10_3
Flags and enums with a GType have a value_nick and value_name
strings available in the class struct. But for flags and enums
without GType, we need to get this information from introspection.
g_base_info_get_name() gives the string for value_nick. In the GIR,
the attribute "c:identifier" is the string neede for value_name.
This patch adds the "c:identifier" from GIR to the typelib for all
flags and enum values. It can be retireved using
g_base_info_get_attribute(info, "c:identifier").
https://bugzilla.gnome.org/show_bug.cgi?id=642757
Diffstat (limited to 'girepository/cmph/chm.c')
0 files changed, 0 insertions, 0 deletions