Re: Plans for gnome-vfs replacement



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 
                   alexl redhat com    alla lysator liu se 
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! 




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