Suggestion: Deprecate gnome_vfs_async_*_as_channel API



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.

Best Regards,
  Mikael Hallendal

[1] http://bugzilla.gnome.org/show_bug.cgi?id=138398
[2] http://bugzilla.gnome.org/show_bug.cgi?id=157261
[3] http://bugzilla.gnome.org/show_bug.cgi?id=157265
[4] http://bugzilla.gnome.org/show_bug.cgi?id=157266
--
Imendio AB, http://www.imendio.com/



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