Commit f6e92810 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu

* src/image.c (cr_create_cr_surface_from_image): Add const to variable `key'.

parent f81b812d
......@@ -239,7 +239,7 @@ cr_create_cr_surface_from_image (struct frame *f, struct image *img)
pimg->width, pimg->height,
static cairo_user_data_key_t key;
static const cairo_user_data_key_t key;
cairo_surface_set_user_data (surface, &key, pimg->data, xfree);
unblock_input ();
pimg->data = NULL;
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