Skip to content
  • James Henstridge's avatar
    add an object member to the structure. (weak_refs_notify): pass · f240813f
    James Henstridge authored
    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.
    f240813f