Re: Suggestion: Deprecate gnome_vfs_async_*_as_channel API



On Fri, 2004-11-19 at 10:33 +0100, Mikael Hallendal wrote:
> Hi,
> 
> This is a suggestion to deprecate the gnome_vfs_async_*_as_channel API:
> 
> gnome_vfs_async_open_as_channel
> gnome_vfs_async_open_uri_as_channel
> gnome_vfs_async_create_as_channel
> gnome_vfs_async_create_uri_as_channel
> 
> I would be surprised if this was used anywhere, if I called one of these 
> functions gnome_vfs_shutdown () hangs after. Also not all functions are 
> implemented [1].
> 
> gnome_vfs_async_create_as_channel calls open internally [2] and thus 
> only works on already existing files :)
> 
> Neither of the functions supports opening in read/write state [3]. Open 
> can open in either read _or_ write and create can obviously only open i 
> write mode [4].
> 
> I launched a bunch of bugs againist this API but my suggestion is that 
> we deprecate it. I can create a patch for this if this is of interest.

I don't see this api as inherently broken or useless. So, i think we
should just try to fix them.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a maverick coffee-fuelled photographer searching for his wife's true 
killer. She's a ditzy bisexual pearl diver from beyond the grave. They fight 
crime! 




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