Re: Plans for gnome-vfs replacement
- From: Alexander Larsson <alexl redhat com>
- To: mathieu lacage <Mathieu Lacage sophia inria fr>
- Cc: Paolo Borelli <pborelli katamail com>, "gtk-devel-list gnome org" <gtk-devel-list gnome org>, Paolo Maggi <paolo gnome org>, "gnome-vfs-list gnome org" <gnome-vfs-list gnome org>
- Subject: Re: Plans for gnome-vfs replacement
- Date: Wed, 20 Sep 2006 14:35:49 +0200
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]