From bd917d98addbb66b1c2a34563db2111d53dd8408 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Thu, 21 Aug 2008 19:40:29 +0000 Subject: [PATCH] (x_delete_display): Don't call XrmDestroyDatabase on GTK+. --- src/xterm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index 89cf06c05e0..8dc422b3282 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -11034,8 +11034,9 @@ x_delete_display (dpyinfo) 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 -- 2.39.5