On Wed, 2006-09-20 at 14:30 +0200, mathieu lacage wrote:
> > 
> > > 2) What is the signature of GDestroyNotify ?
> > 
> > Its already in gtypes.h:
> > typedef void            (*GDestroyNotify)       (gpointer       data);
> 
> ah. I forgot about this. Don't you think it might make sense for ease of
> use to add a void *buffer arg and a GOutputStream * arg to the destroy
> notification ?

Nah, In typical real world cases these would already be in the user_data
object. Say if you're reading a whole file async. It feels better to
keep to the standard glib destroy notifier handling.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   [EMAIL PROTECTED]    [EMAIL PROTECTED] 
He's a maverick devious Green Beret on the edge. She's an enchanted 
streetsmart doctor on the trail of a serial killer. They fight crime! 

_______________________________________________
gnome-vfs-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-vfs-list

Reply via email to