(x_delete_display): Don't call XrmDestroyDatabase on GTK+.

This commit is contained in:
Chong Yidong 2008-08-21 19:37:04 +00:00
parent a3c8694acb
commit 8f59f2e77a

View file

@ -10514,7 +10514,8 @@ x_delete_display (dpyinfo)
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