diff options
| author | Jan Djärv | 2006-09-10 12:16:58 +0000 |
|---|---|---|
| committer | Jan Djärv | 2006-09-10 12:16:58 +0000 |
| commit | 16e4bfaf96f1dd3b4d242e96f4b1a3c95bf065af (patch) | |
| tree | 23e3a8118d7bf927b75e14f8181f3cd6afa06a2c /src | |
| parent | d7b1ea44e5fc76b67e3f6a6a0c48123e0b42e6de (diff) | |
| download | emacs-16e4bfaf96f1dd3b4d242e96f4b1a3c95bf065af.tar.gz emacs-16e4bfaf96f1dd3b4d242e96f4b1a3c95bf065af.zip | |
* xfns.c (Fx_close_connection): Call xg_display_close when USE_GTK.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 4 |
1 files changed, 4 insertions, 0 deletions
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. */) | |||
| 4067 | x_destroy_all_bitmaps (dpyinfo); | 4067 | x_destroy_all_bitmaps (dpyinfo); |
| 4068 | XSetCloseDownMode (dpyinfo->display, DestroyAll); | 4068 | XSetCloseDownMode (dpyinfo->display, DestroyAll); |
| 4069 | 4069 | ||
| 4070 | #ifdef USE_GTK | ||
| 4071 | xg_display_close (dpyinfo->display); | ||
| 4072 | #else | ||
| 4070 | #ifdef USE_X_TOOLKIT | 4073 | #ifdef USE_X_TOOLKIT |
| 4071 | XtCloseDisplay (dpyinfo->display); | 4074 | XtCloseDisplay (dpyinfo->display); |
| 4072 | #else | 4075 | #else |
| 4073 | XCloseDisplay (dpyinfo->display); | 4076 | XCloseDisplay (dpyinfo->display); |
| 4074 | #endif | 4077 | #endif |
| 4078 | #endif /* ! USE_GTK */ | ||
| 4075 | 4079 | ||
| 4076 | x_delete_display (dpyinfo); | 4080 | x_delete_display (dpyinfo); |
| 4077 | UNBLOCK_INPUT; | 4081 | UNBLOCK_INPUT; |