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 620250 - Remove deprecated GLib symbol (g_mapped_file_free)
Remove deprecated GLib symbol (g_mapped_file_free)
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: general
0.8.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks: 560423
 
 
Reported: 2010-06-01 12:55 UTC by André Klapper
Modified: 2010-06-12 08:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2010-06-01 12:55:51 UTC
Vala uses g_mapped_file_free() which is deprecated.
See http://live.gnome.org/GnomeGoals/RemoveDeprecatedSymbols/Glib

For example (not necessarily a full list):
./gobject-introspection/gmetadata.c:    g_mapped_file_free (metadata->mfile);
Comment 1 Luca Bruno 2010-06-02 09:36:53 UTC
Refcounted MappedFile exists since 2.22, it may be early to drop _free for _unref.
Comment 2 Luca Bruno 2010-06-12 08:58:09 UTC
This problem has been fixed in Vala version 0.7.10. If you compile against GLib 2.22, ref() and unref() will be used instead of free() with MappedFIle. Same for other deprecated API. Please reopen if needed.