]> Pileus Git - ~andy/gtk/commit
Improve tests for X error traps, fix two bugs
authorHavoc Pennington <hp@pobox.com>
Sun, 19 Sep 2010 03:03:31 +0000 (23:03 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 19 Sep 2010 03:03:31 +0000 (23:03 -0400)
commite32ab82069cb99b8a7e649b9d6e09dd2c66904ec
treefc33e7cef4bc170fb9bb9f1d688883dc3b29f403
parentc7d73ee5875786f88ab72ed94072d25c207bcf94
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.

https://bugzilla.gnome.org/show_bug.cgi?id=630033
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkmain-x11.c
tests/testerrors.c