]> 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:40:29 +0000 (19:40 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 21 Aug 2008 19:40:29 +0000 (19:40 +0000)
src/xterm.c

index 89cf06c05e036e49d8e0e4763ca74f1f2079c52b..8dc422b3282c9a11c7068aa893760c2aac0a13e7 100644 (file)
@@ -11034,8 +11034,9 @@ 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)
 #ifndef AIX            /* On AIX, XCloseDisplay calls this.  */
+  /* Xt and GTK does this themselves. */
   XrmDestroyDatabase (dpyinfo->xrdb);
 #endif
 #endif