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 527639 - Improve deprecated function warnings
Improve deprecated function warnings
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: MIME and file/program mapping
2.22.x
Other Linux
: Normal minor
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2008-04-12 01:18 UTC by Scott Wimer
Modified: 2018-08-17 13:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch that adds the name of the deprecated functions to warnings (3.96 KB, patch)
2008-04-12 01:22 UTC, Scott Wimer
none Details | Review

Description Scott Wimer 2008-04-12 01:18:38 UTC
Other projects are using gnome-vfs in a deprecated manner.  Most notably firefox (bug # <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=294375">294375</a>.

The warning messages leave a bit to be desired.  Most notably, the function that the library user is calling.
Comment 1 Scott Wimer 2008-04-12 01:22:24 UTC
Created attachment 109098 [details] [review]
Patch that adds the name of the deprecated functions to warnings

This patch won't fix any of the code that is using deprecated functions from this library, but it will make it easier for those users to find the deprecated usage in their code and make whatever changes are needed.
Comment 2 André Klapper 2008-06-08 16:28:14 UTC
is this still an issue for firefox 3?
there will not be much changes in gnome-vfs as it is deprecated itself now in favor of gvfs.
Comment 3 André Klapper 2010-12-30 19:31:21 UTC
If you are still interested in this, please change the function names to %s placeholders and define them outside of the translatable string. We don't want translators to copy and paste cryptic function names.
Comment 4 André Klapper 2018-08-17 13:53:22 UTC
gnome-vfs got deprecated in 2008.

gnome-vfs is not under active development anymore and had its last code changes
in 2011. Its codebase has been archived:
https://gitlab.gnome.org/Archive/gnome-vfs/commits/master

gio (in glib) and gvfs are its successors. See https://developer.gnome.org/gio/stable/ch33.html and https://people.gnome.org/~gicmo/gio-migration-guide/ for porting info.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to a recent + supported version of glib/gio/gvfs. Thanks!