# HG changeset patch # User Chong Yidong # Date 1219347629 0 # Node ID b9445712d18819d3bd96737ac66f79635cab9d24 # Parent bcd1b64ac030b8922042f7f4db14a542ddd77f31 (x_delete_display): Don't call XrmDestroyDatabase on GTK+. diff -r bcd1b64ac030 -r b9445712d188 src/xterm.c --- a/src/xterm.c Thu Aug 21 19:39:53 2008 +0000 +++ b/src/xterm.c Thu Aug 21 19:40:29 2008 +0000 @@ -11034,8 +11034,9 @@ 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