From 16e4bfaf96f1dd3b4d242e96f4b1a3c95bf065af Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Sun, 10 Sep 2006 12:16:58 +0000 Subject: [PATCH] * xfns.c (Fx_close_connection): Call xg_display_close when USE_GTK. --- src/xfns.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xfns.c b/src/xfns.c index dd8035c95af..2bb4310e437 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -4067,11 +4067,15 @@ If DISPLAY is nil, that stands for the selected frame's display. */) x_destroy_all_bitmaps (dpyinfo); XSetCloseDownMode (dpyinfo->display, DestroyAll); +#ifdef USE_GTK + xg_display_close (dpyinfo->display); +#else #ifdef USE_X_TOOLKIT XtCloseDisplay (dpyinfo->display); #else XCloseDisplay (dpyinfo->display); #endif +#endif /* ! USE_GTK */ x_delete_display (dpyinfo); UNBLOCK_INPUT; -- 2.39.2