Re: patch nag: return NULL MIME types in sftp-method, ftp-method



On Sun, 2006-09-10 at 15:26 +0200, Christian Neumair wrote:
> Sometimes the (s)ftp methods may return NULL MIME types but flag that
> the returned MIME type is valid.
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=330625 has the details.
> Maybe we should assert this in Nautilus and/or GnomeVFS
> (gnome_vfs_get_file_info, gnome_vfs_directory_list_load).

I'm worried about adding a symbol
(gnome_vfs_mime_type_from_mode_or_default) to a stable release (2.16).
Can't you just look for NULL returns?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a fast talking Jewish rock star for the 21st century. She's a vivacious 
thirtysomething queen of the dead from aristocratic European stock. They fight 
crime! 




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