]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_delete_display): Don't call XrmDestroyDatabase on GTK+.
authorChong Yidong <cyd@stupidchicken.com>
Thu, 21 Aug 2008 19:37:04 +0000 (19:37 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 21 Aug 2008 19:37:04 +0000 (19:37 +0000)
src/xterm.c

index a32f4e1a397c0eed4228235107fe0313397724b3..63d86bf6cbaaebaea50ee6372fc68852bd9710f2 100644 (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