From: Chong Yidong Date: Thu, 21 Aug 2008 19:40:29 +0000 (+0000) Subject: (x_delete_display): Don't call XrmDestroyDatabase on GTK+. X-Git-Tag: emacs-pretest-22.2.91~16 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bd917d98addbb66b1c2a34563db2111d53dd8408;p=emacs.git (x_delete_display): Don't call XrmDestroyDatabase on GTK+. --- 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