GNOME Bugzilla – Bug 168549
glib2 functions should be used for XDG_DATA_* stuff
Last modified: 2005-08-24 04:19:19 UTC
Version details: 2.9.91 For consistency reasons, gnome-vfs-2.9.91/libgnomevfs/xdgmime.c:gnome_vfs_mime_init as well as gnome-vfs-2.9.91/libgnomevfs/gnome-vfs-mime-info.c:xdg_run_command_on_dirs should use the glib2 functions to determine required directories instead of "re-implementing" the search path construction. E.g. as in gtk+-2.6.1/gtk/gtkicontheme.c:gtk_icon_theme_init
Thanks for your bug report. You're totally right.
I've filed an individual bug report against xdgmime [1]. [1] https://bugs.freedesktop.org/show_bug.cgi?id=3172
Created attachment 45917 [details] [review] Proposed patch (against HEAD). Should fix the gnome-vfs part.
xdgmime is plain C, no chance to have it fixed.
This patch looks fine to me, I hope it still applies.
Commited on head.