diff options
| author | Chong Yidong | 2008-08-21 19:37:04 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-08-21 19:37:04 +0000 |
| commit | 8f59f2e77a03242188076872e8e7ef7f4851e57c (patch) | |
| tree | c99dca9d5fe188ae8eefb242a180ec02a0f3a02d /src | |
| parent | a3c8694acbe88aa191dcf356632d81e42a401373 (diff) | |
| download | emacs-8f59f2e77a03242188076872e8e7ef7f4851e57c.tar.gz emacs-8f59f2e77a03242188076872e8e7ef7f4851e57c.zip | |
(x_delete_display): Don't call XrmDestroyDatabase on GTK+.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index a32f4e1a397..63d86bf6cba 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -10514,7 +10514,8 @@ x_delete_display (dpyinfo) | |||
| 10514 | tail->next = tail->next->next; | 10514 | tail->next = tail->next->next; |
| 10515 | } | 10515 | } |
| 10516 | 10516 | ||
| 10517 | #ifndef USE_X_TOOLKIT /* I'm told Xt does this itself. */ | 10517 | /* Xt and GTK do this themselves. */ |
| 10518 | #if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK) | ||
| 10518 | #ifndef AIX /* On AIX, XCloseDisplay calls this. */ | 10519 | #ifndef AIX /* On AIX, XCloseDisplay calls this. */ |
| 10519 | XrmDestroyDatabase (dpyinfo->xrdb); | 10520 | XrmDestroyDatabase (dpyinfo->xrdb); |
| 10520 | #endif | 10521 | #endif |