GWeakRefs not cleared by g_object_run_dispose()
Submitted by Travis Reitter
Link to original bug (#729150)
Description
As the GWeakRef gtk-doc describes:
Before the object's GObjectClass.dispose method is called, every GWeakRef associated with becomes empty (i.e. points to NULL).
But that doesn't actually happen for g_object_run_dispose().
I've been working on fixing a race condition in bug #726973 and tried solving it with GWeakRefs. My patch to gdbusnamewatching.c did nothing until I added weak ref clearing to g_object_run_dispose().