diff --git a/src/xterm.c b/src/xterm.c index a32f4e1..9b9b976 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -10514,7 +10514,7 @@ 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) /* Xt and GTK does this by itself */ #ifndef AIX /* On AIX, XCloseDisplay calls this. */ XrmDestroyDatabase (dpyinfo->xrdb); #endif