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 128546 - _gtk_plug_remove_from_socket() generates bogus warning
_gtk_plug_remove_from_socket() generates bogus warning
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.2.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2003-12-04 20:49 UTC by Christopher Blizzard
Modified: 2011-02-04 16:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test case (903 bytes, text/plain)
2003-12-04 20:50 UTC, Christopher Blizzard
  Details
possible patch (673 bytes, patch)
2003-12-04 20:52 UTC, Christopher Blizzard
none Details | Review

Description Christopher Blizzard 2003-12-04 20:49:58 UTC
_gtk_plug_remove_from_socket() generates a bogus error when destroying the
widget in some cases.  This is because sometimes the socket's plug_window
can be null.  I'll upload a very small test case in a moment.
Comment 1 Christopher Blizzard 2003-12-04 20:50:32 UTC
Created attachment 22111 [details]
test case
Comment 2 Christopher Blizzard 2003-12-04 20:52:30 UTC
Created attachment 22112 [details] [review]
possible patch
Comment 3 Christopher Blizzard 2003-12-04 20:52:52 UTC
Assuming the test case isn't bogus, that's a simple fix for the problem.