Re: Updated proposal for making the GtkFileChooser code asynchronous



On Fri, 9 Dec 2005, Soeren Sandmann wrote:

Soeren Sandmann <sandmann daimi au dk> writes:

Also, the callback is always called, even if you cancel the operation,
right?

If it isn't, then

       - How do you free the user data you passed in?

       - What good is the handle passed to the callback? You can't do
         anything with it, except cancelling the operation which by
         then is already complete.

you can access ->file_system from the handle, so the file_system argument
could be left out from the argument list of the callbacks in the updated
proposal, and you can reference count the handle which is why it was made
into a GObject.

Soren

---
ciaoTJ



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