diff options
Diffstat (limited to 'src/macfns.c')
| -rw-r--r-- | src/macfns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macfns.c b/src/macfns.c index dbb8adb3fe1..625ca29336c 100644 --- a/src/macfns.c +++ b/src/macfns.c | |||
| @@ -2598,7 +2598,7 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 2598 | 2598 | ||
| 2599 | if (!NILP (parent)) | 2599 | if (!NILP (parent)) |
| 2600 | { | 2600 | { |
| 2601 | f->output_data.mac->parent_desc = (Window) parent; | 2601 | f->output_data.mac->parent_desc = (Window) XFASTINT (parent); |
| 2602 | f->output_data.mac->explicit_parent = 1; | 2602 | f->output_data.mac->explicit_parent = 1; |
| 2603 | } | 2603 | } |
| 2604 | else | 2604 | else |
| @@ -2708,7 +2708,7 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 2708 | 2708 | ||
| 2709 | x_default_parameter (f, parms, Qmenu_bar_lines, make_number (1), | 2709 | x_default_parameter (f, parms, Qmenu_bar_lines, make_number (1), |
| 2710 | "menuBar", "MenuBar", RES_TYPE_NUMBER); | 2710 | "menuBar", "MenuBar", RES_TYPE_NUMBER); |
| 2711 | x_default_parameter (f, parms, Qtool_bar_lines, make_number (0), | 2711 | x_default_parameter (f, parms, Qtool_bar_lines, make_number (1), |
| 2712 | "toolBar", "ToolBar", RES_TYPE_NUMBER); | 2712 | "toolBar", "ToolBar", RES_TYPE_NUMBER); |
| 2713 | x_default_parameter (f, parms, Qbuffer_predicate, Qnil, | 2713 | x_default_parameter (f, parms, Qbuffer_predicate, Qnil, |
| 2714 | "bufferPredicate", "BufferPredicate", RES_TYPE_SYMBOL); | 2714 | "bufferPredicate", "BufferPredicate", RES_TYPE_SYMBOL); |