GNOME Bugzilla – Bug 694728
Put deprecation fields into typelibs
Last modified: 2018-02-08 12:20:25 UTC
GIRs have information about deprecated symbols, for example GLib-2.0: <record name="Date" [...] <method name="set_time" c:identifier="g_date_set_time" deprecated="Use g_date_set_time_t() instead." deprecated-version="2.10"> But g-ir-compiler does not put the deprecated and deprecated-version fields into typelibs. With that an introspection client can just ask g_base_info_is_deprecated(), but cannot write any additional helpful information into generated warnings.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]
Updating the typelib at this point is kind of hard without breaking ABI.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME'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.gnome.org/GNOME/gobject-introspection/issues/80.