diff options
Diffstat (limited to 'src/xfns.c')
| -rw-r--r-- | src/xfns.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xfns.c b/src/xfns.c index c68149cce11..323b272e9f0 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -3166,7 +3166,7 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 3166 | to get the color reference counts right, so initialize them! */ | 3166 | to get the color reference counts right, so initialize them! */ |
| 3167 | { | 3167 | { |
| 3168 | Lisp_Object black; | 3168 | Lisp_Object black; |
| 3169 | struct gcpro inner_gcpro1; | 3169 | struct gcpro gcpro1; |
| 3170 | 3170 | ||
| 3171 | /* Function x_decode_color can signal an error. Make | 3171 | /* Function x_decode_color can signal an error. Make |
| 3172 | sure to initialize color slots so that we won't try | 3172 | sure to initialize color slots so that we won't try |
| @@ -3179,7 +3179,7 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 3179 | f->output_data.x->mouse_pixel = -1; | 3179 | f->output_data.x->mouse_pixel = -1; |
| 3180 | 3180 | ||
| 3181 | black = build_string ("black"); | 3181 | black = build_string ("black"); |
| 3182 | GCPRO1_VAR (black, inner_gcpro); | 3182 | GCPRO1 (black); |
| 3183 | FRAME_FOREGROUND_PIXEL (f) | 3183 | FRAME_FOREGROUND_PIXEL (f) |
| 3184 | = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); | 3184 | = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); |
| 3185 | FRAME_BACKGROUND_PIXEL (f) | 3185 | FRAME_BACKGROUND_PIXEL (f) |
| @@ -3192,7 +3192,7 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 3192 | = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); | 3192 | = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); |
| 3193 | f->output_data.x->mouse_pixel | 3193 | f->output_data.x->mouse_pixel |
| 3194 | = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); | 3194 | = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); |
| 3195 | UNGCPRO_VAR (inner_gcpro); | 3195 | UNGCPRO; |
| 3196 | } | 3196 | } |
| 3197 | 3197 | ||
| 3198 | /* Specify the parent under which to make this X window. */ | 3198 | /* Specify the parent under which to make this X window. */ |
| @@ -4620,7 +4620,7 @@ x_create_tip_frame (struct x_display_info *dpyinfo, | |||
| 4620 | to get the color reference counts right, so initialize them! */ | 4620 | to get the color reference counts right, so initialize them! */ |
| 4621 | { | 4621 | { |
| 4622 | Lisp_Object black; | 4622 | Lisp_Object black; |
| 4623 | struct gcpro inner_gcpro1; | 4623 | struct gcpro gcpro1; |
| 4624 | 4624 | ||
| 4625 | /* Function x_decode_color can signal an error. Make | 4625 | /* Function x_decode_color can signal an error. Make |
| 4626 | sure to initialize color slots so that we won't try | 4626 | sure to initialize color slots so that we won't try |
| @@ -4633,7 +4633,7 @@ x_create_tip_frame (struct x_display_info *dpyinfo, | |||
| 4633 | f->output_data.x->mouse_pixel = -1; | 4633 | f->output_data.x->mouse_pixel = -1; |
| 4634 | 4634 | ||
| 4635 | black = build_string ("black"); | 4635 | black = build_string ("black"); |
| 4636 | GCPRO1_VAR (black, inner_gcpro); | 4636 | GCPRO1 (black); |
| 4637 | FRAME_FOREGROUND_PIXEL (f) | 4637 | FRAME_FOREGROUND_PIXEL (f) |
| 4638 | = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); | 4638 | = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); |
| 4639 | FRAME_BACKGROUND_PIXEL (f) | 4639 | FRAME_BACKGROUND_PIXEL (f) |
| @@ -4646,7 +4646,7 @@ x_create_tip_frame (struct x_display_info *dpyinfo, | |||
| 4646 | = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); | 4646 | = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); |
| 4647 | f->output_data.x->mouse_pixel | 4647 | f->output_data.x->mouse_pixel |
| 4648 | = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); | 4648 | = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); |
| 4649 | UNGCPRO_VAR (inner_gcpro); | 4649 | UNGCPRO; |
| 4650 | } | 4650 | } |
| 4651 | 4651 | ||
| 4652 | /* Set the name; the functions to which we pass f expect the name to | 4652 | /* Set the name; the functions to which we pass f expect the name to |