add an object member to the structure. (weak_refs_notify): pass
authorJames Henstridge <james@daa.com.au>
Sat, 18 Aug 2001 03:07:48 +0000 (03:07 +0000)
committerJames Henstridge <jamesh@src.gnome.org>
Sat, 18 Aug 2001 03:07:48 +0000 (03:07 +0000)
commitf240813ff68977d7ce7c775ffc9d632c16c867ec
treea5703bcc102604c097d57c9273e68408d81519a9
parent2da4b710cd773ed54a57f89b382fa0c37771d0ce
add an object member to the structure. (weak_refs_notify): pass

2001-08-17  James Henstridge  <james@daa.com.au>

* gobject.c (WeakRefStack): add an object member to the structure.
(weak_refs_notify): pass wstack->object as extra argument to
notify functions.
(g_object_weak_ref): set wstack->object when initialising
WeakRefStack.

* gobject.h (GWeakNotify): add second argument to prototype which
gives the pointer to where the object that is being disposed of
was.
gobject/ChangeLog
gobject/gobject.c
gobject/gobject.h