Hi there,
So - I've been debugging an embarassing set of problems with
gdk_display_close. I'm assuming that in gtk+ for some reason we let a
number of GdkDisplay refs float around the place so that the display is
never finalized, and we only dispose it once (with the 'closed' guard).
However - quite a simple program will provoke a SEGV eg.
#include <gtk/gtk.h>
int
main (int argc, char **argv)
{
GdkDisplay *display;
gtk_init (&argc, &argv);
display = gdk_display_open (":0.0");
gdk_display_close (display);
return 0;
}