Commit 23c261f5 authored by Chong Yidong's avatar Chong Yidong
Browse files

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

parent a03c2342
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.
......
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment