Mercurial > emacs
changeset 97609:83a1270ef719
(x_delete_display): Don't call XrmDestroyDatabase on GTK+.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 21 Aug 2008 19:37:04 +0000 |
parents | 2bde8f2e8ed1 |
children | 118e105134fb |
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:36:56 2008 +0000 +++ b/src/xterm.c Thu Aug 21 19:37:04 2008 +0000 @@ -10514,7 +10514,8 @@ tail->next = tail->next->next; } -#ifndef USE_X_TOOLKIT /* I'm told Xt does this itself. */ + /* Xt and GTK do this themselves. */ +#if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK) #ifndef AIX /* On AIX, XCloseDisplay calls this. */ XrmDestroyDatabase (dpyinfo->xrdb); #endif