1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00

* xterm.c (x_connection_closed): Kill Emacs unconditionally.

This commit is contained in:
Chong Yidong 2010-10-24 17:05:11 -04:00
parent a03c234213
commit 23c261f58f
2 changed files with 10 additions and 9 deletions

View File

@ -1,3 +1,7 @@
2010-10-24 Chong Yidong <cyd@stupidchicken.com>
* xterm.c (x_connection_closed): Kill Emacs unconditionally.
2010-10-22 Eli Zaretskii <eliz@gnu.org>
* frame.c (Fframep, Fwindow_system): Deprecate use as a predicate.

View File

@ -7911,15 +7911,12 @@ x_connection_closed (dpy, error_message)
#endif
#ifdef USE_GTK
/* Due to bugs in some Gtk+ versions, just exit here if this
is the last display/terminal. */
if (terminal_list->next_terminal == NULL)
{
fprintf (stderr, "%s\n", error_msg);
shut_down_emacs (0, 0, Qnil);
exit (70);
}
xg_display_close (dpyinfo->display);
/* Due to bugs in some Gtk+ versions, just exit here. */
{
fprintf (stderr, "%s\n", error_msg);
Fkill_emacs (make_number (70));
abort (); /* NOTREACHED */
}
#endif
/* Indicate that this display is dead. */