After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 79782 - htmldocument finalize() emits signals
htmldocument finalize() emits signals
Status: RESOLVED FIXED
Product: gtkhtml2
Classification: Deprecated
Component: General
unspecified
Other other
: Normal normal
: ---
Assigned To: Anders Carlsson
Anders Carlsson
: 87567 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-04-24 18:33 UTC by Damon Chaplin
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Damon Chaplin 2002-04-24 18:33:24 UTC
html_document_finalize() calls html_document_clear (), which results
in signals being emitted from the DOM as nodes are removed.

This results in warnings from glib about ref counts.

I think it needs to disconnect the listener signals from the DOM before
clearing the document.
Comment 1 padraig.obriain 2002-12-04 11:47:05 UTC
Do you have a test case for this so I can reproduce the problem?
Comment 2 padraig.obriain 2002-12-09 10:07:59 UTC
I have seen this problem while investigating bug 97567.
Comment 3 padraig.obriain 2002-12-09 10:29:40 UTC
I have moved the removals of the signals to before removing the nodes
in the DOM in html_document_clear().
Comment 4 padraig.obriain 2002-12-09 10:30:52 UTC
*** Bug 87567 has been marked as a duplicate of this bug. ***