diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c index a2e4aa98bf9..9b0080130bc 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -239,7 +239,7 @@ cr_create_cr_surface_from_image (struct frame *f, struct image *img) | |||
| 239 | : CAIRO_FORMAT_RGB24), | 239 | : CAIRO_FORMAT_RGB24), |
| 240 | pimg->width, pimg->height, | 240 | pimg->width, pimg->height, |
| 241 | pimg->bytes_per_line); | 241 | pimg->bytes_per_line); |
| 242 | static cairo_user_data_key_t key; | 242 | static const cairo_user_data_key_t key; |
| 243 | cairo_surface_set_user_data (surface, &key, pimg->data, xfree); | 243 | cairo_surface_set_user_data (surface, &key, pimg->data, xfree); |
| 244 | unblock_input (); | 244 | unblock_input (); |
| 245 | pimg->data = NULL; | 245 | pimg->data = NULL; |