gnome_vfs_mime_remove_extension() bug.



Hi everyone,
I'm now using GnomeVfs API, in specific, it's:
GnomeVFSResult
gnome_vfs_mime_remove_extension (const char *mime_type, const char *extension)
in gnome-vfs-mime-handlers.c.

This function works fine if there are more than one file extensions from the 
specificed MIME type in the MIME database. But if there is only one file 
extension, this function fails to remove it.

The problem could be easily recreated, could anybody help to check and fix it ?

Thanks.
Daniel Z.






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