[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-devel
Subject:    Re: Updated proposal for making the GtkFileChooser code asynchronous
From:       Tim Janik <timj () imendio ! com>
Date:       2005-12-12 12:47:50
Message-ID: Pine.LNX.4.61.0512121345001.27602 () localhost ! localdomain
[Download RAW message or body]

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
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic