diff options
Diffstat (limited to 'src/widget.c')
| -rw-r--r-- | src/widget.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/widget.c b/src/widget.c index ea9bdb61b13..0100acc8143 100644 --- a/src/widget.c +++ b/src/widget.c | |||
| @@ -50,9 +50,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 50 | #include <X11/ShellP.h> | 50 | #include <X11/ShellP.h> |
| 51 | #include "../lwlib/lwlib.h" | 51 | #include "../lwlib/lwlib.h" |
| 52 | 52 | ||
| 53 | #include <signal.h> | ||
| 54 | #include "syssignal.h" | ||
| 55 | |||
| 56 | #include "character.h" | 53 | #include "character.h" |
| 57 | #include "font.h" | 54 | #include "font.h" |
| 58 | 55 | ||
| @@ -226,7 +223,7 @@ get_wm_shell (Widget w) | |||
| 226 | static void | 223 | static void |
| 227 | mark_shell_size_user_specified (Widget wmshell) | 224 | mark_shell_size_user_specified (Widget wmshell) |
| 228 | { | 225 | { |
| 229 | if (! XtIsWMShell (wmshell)) abort (); | 226 | if (! XtIsWMShell (wmshell)) emacs_abort (); |
| 230 | /* This is kind of sleazy, but I can't see how else to tell it to make it | 227 | /* This is kind of sleazy, but I can't see how else to tell it to make it |
| 231 | mark the WM_SIZE_HINTS size as user specified when appropriate. */ | 228 | mark the WM_SIZE_HINTS size as user specified when appropriate. */ |
| 232 | ((WMShellWidget) wmshell)->wm.size_hints.flags |= USSize; | 229 | ((WMShellWidget) wmshell)->wm.size_hints.flags |= USSize; |
| @@ -290,7 +287,7 @@ set_frame_size (EmacsFrame ew) | |||
| 290 | Widget wmshell = get_wm_shell ((Widget) ew); | 287 | Widget wmshell = get_wm_shell ((Widget) ew); |
| 291 | /* Each Emacs shell is now independent and top-level. */ | 288 | /* Each Emacs shell is now independent and top-level. */ |
| 292 | 289 | ||
| 293 | if (! XtIsSubclass (wmshell, shellWidgetClass)) abort (); | 290 | if (! XtIsSubclass (wmshell, shellWidgetClass)) emacs_abort (); |
| 294 | 291 | ||
| 295 | /* We don't need this for the moment. The geometry is computed in | 292 | /* We don't need this for the moment. The geometry is computed in |
| 296 | xfns.c. */ | 293 | xfns.c. */ |
| @@ -677,8 +674,8 @@ EmacsFrameDestroy (Widget widget) | |||
| 677 | EmacsFrame ew = (EmacsFrame) widget; | 674 | EmacsFrame ew = (EmacsFrame) widget; |
| 678 | struct frame* s = ew->emacs_frame.frame; | 675 | struct frame* s = ew->emacs_frame.frame; |
| 679 | 676 | ||
| 680 | if (! s) abort (); | 677 | if (! s) emacs_abort (); |
| 681 | if (! s->output_data.x) abort (); | 678 | if (! s->output_data.x) emacs_abort (); |
| 682 | 679 | ||
| 683 | BLOCK_INPUT; | 680 | BLOCK_INPUT; |
| 684 | x_free_gcs (s); | 681 | x_free_gcs (s); |