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 630033 - Improve tests for X error traps, fix two bugs
Improve tests for X error traps, fix two bugs
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-09-19 00:59 UTC by Havoc Pennington
Modified: 2010-09-19 03:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Improve tests for X error traps, fix two bugs (6.17 KB, patch)
2010-09-19 00:59 UTC, Havoc Pennington
none Details | Review

Description Havoc Pennington 2010-09-19 00:59:47 UTC
Couple bugs, and more thorough test.

Depends on fix for bug 630032
Comment 1 Havoc Pennington 2010-09-19 00:59:49 UTC
Created attachment 170575 [details] [review]
Improve tests for X error traps, fix two bugs

* don't lose track of previous X error handler
  if nested traps are pushed
* free any remaining traps when display
  is finalized

Test will fail unless bug 630032 is closed so
gdk_display_close() works.
Comment 2 Matthias Clasen 2010-09-19 03:04:40 UTC
thanks, committed