Re: GTK_DESTROYED not set after gtk_object_destroy() ?
- From: murrayc t-online de (Murray Cumming)
- To: murrayc usa net
- Cc: Owen Taylor <otaylor redhat com>, gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: GTK_DESTROYED not set after gtk_object_destroy() ?
- Date: 08 Oct 2001 12:43:57 +0200
On Mon, 2001-10-08 at 01:50, Murray Cumming wrote:
> So it seemed sensible to use the GDestroyNotify callback that's given to
> g_object_set_data_full(), because that is called indirectly from
> gtk_object_dispose(), which only seems to be called after the last
> destroy. I'm not sure that GDestroyNotify is such a good name..
I really do think that this:
void gtk_object_set_data_full (GtkObject *object,
const gchar *key,
gpointer data,
GtkDestroyNotify destroy);
should be this:
void gtk_object_set_data_full (GtkObject *object,
const gchar *key,
gpointer data,
GtkDisposeNotify func);
Only the names needs to be changed.
--
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]