Commit a36008b5 authored by Ari Roponen's avatar Ari Roponen Committed by Eli Zaretskii

Fix --with-cairo build

* src/xterm.c (x_cr_destroy): Remove extra semicolon.
(x_cr_export_frames): Fix a typo in calling
record_unwind_protect_ptr.  (Bug#31856)
parent 7f2cfcce
......@@ -544,7 +544,7 @@ x_cr_accumulate_data (void *closure, const unsigned char *data,
}
static void
x_cr_destroy (void *cr);
x_cr_destroy (void *cr)
{
block_input ();
cairo_destroy (cr);
......@@ -604,7 +604,7 @@ x_cr_export_frames (Lisp_Object frames, cairo_surface_type_t surface_type)
cr = cairo_create (surface);
cairo_surface_destroy (surface);
record_unwind_protect_pointer (x_cr_destroy, cr);
record_unwind_protect_ptr (x_cr_destroy, cr);
while (1)
{
......
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