# HG changeset patch # User Chong Yidong # Date 1219347424 0 # Node ID 83a1270ef719b7519db363fca1f28df071138662 # Parent 2bde8f2e8ed1a3906a66ed82a10b4c42ebba534a (x_delete_display): Don't call XrmDestroyDatabase on GTK+. diff -r 2bde8f2e8ed1 -r 83a1270ef719 src/xterm.c --- 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