Re: Updated proposal for making the GtkFileChooser code asynchronous



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.

Even if the callback is always called, it looks to me like a single 

        gboolean was_cancelled 

parameter would be sufficient to cover any possible use of the handle.


Soren



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