Mercurial > emacs
changeset 80746:b9445712d188
(x_delete_display): Don't call XrmDestroyDatabase on GTK+.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 21 Aug 2008 19:40:29 +0000 |
parents | bcd1b64ac030 |
children | 17c55d96e59b |
files | src/xterm.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Thu Aug 21 19:39:53 2008 +0000 +++ b/src/xterm.c Thu Aug 21 19:40:29 2008 +0000 @@ -11034,8 +11034,9 @@ tail->next = tail->next->next; } -#ifndef USE_X_TOOLKIT /* I'm told Xt does this itself. */ +#if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK) #ifndef AIX /* On AIX, XCloseDisplay calls this. */ + /* Xt and GTK does this themselves. */ XrmDestroyDatabase (dpyinfo->xrdb); #endif #endif