getting the mime type for a non-existant file



The only function I could find in the gnome-vfs-2.0 headers was

gnome_vfs_get_mime_type (filename)

which does not work with non-existant files.

Devhelp lists gnome_vfs_get_mime_type_from_uri (filename) and tells that will return the mime type on non-existant files too.

Unfortunately, this functions seems to be removed or something.

Can anyone help?

--
Manuel Clos
llanero eresmas net

TCPA y Palladium: http://bulmalug.net/body.phtml?nIdNoticia=1398
TCPA and Palladium: http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]