aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2008-08-21 19:37:04 +0000
committerChong Yidong2008-08-21 19:37:04 +0000
commit8f59f2e77a03242188076872e8e7ef7f4851e57c (patch)
treec99dca9d5fe188ae8eefb242a180ec02a0f3a02d /src
parenta3c8694acbe88aa191dcf356632d81e42a401373 (diff)
downloademacs-8f59f2e77a03242188076872e8e7ef7f4851e57c.tar.gz
emacs-8f59f2e77a03242188076872e8e7ef7f4851e57c.zip
(x_delete_display): Don't call XrmDestroyDatabase on GTK+.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c3
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