Re: [API] GObject watched closures
- From: Michael Meeks <michael ximian com>
- To: Tim Janik <timj gtk org>
- Cc: Owen Taylor <otaylor gtk org>, Michael Meeks <michael helixcode com>, Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: [API] GObject watched closures
- Date: 04 Feb 2002 15:06:25 +0000
Hi Tim,
On Sun, 2002-02-03 at 18:50, Tim Janik wrote:
> if (closure->data == data && closure->func == func)
This seems to me somewhat dodgy - indeed all I really need in
libbonoboui is a 'g_closure_compare' method - that can do what you
sketch above [ which might appear to assume C closures - is that so ? ].
But you're right - it's unfortunate that bindings have to keep a single
GClosure pointer / ref in order to be able to remove the closure.
Hmm,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]