diff options
| author | Ari Roponen | 2018-06-16 08:37:04 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2018-06-16 10:14:10 +0300 |
| commit | a36008b5fc92b9ea00d70973ddc761c94a831c01 (patch) | |
| tree | 67b8ebd662038e4a87da0f1e2be1883941adf6dc /src | |
| parent | 7f2cfcce95d6472b436def7a9cdf4e47a3b82eaf (diff) | |
| download | emacs-a36008b5fc92b9ea00d70973ddc761c94a831c01.tar.gz emacs-a36008b5fc92b9ea00d70973ddc761c94a831c01.zip | |
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)
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 48ce7918897..9504bfb1834 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -544,7 +544,7 @@ x_cr_accumulate_data (void *closure, const unsigned char *data, | |||
| 544 | } | 544 | } |
| 545 | 545 | ||
| 546 | static void | 546 | static void |
| 547 | x_cr_destroy (void *cr); | 547 | x_cr_destroy (void *cr) |
| 548 | { | 548 | { |
| 549 | block_input (); | 549 | block_input (); |
| 550 | cairo_destroy (cr); | 550 | cairo_destroy (cr); |
| @@ -604,7 +604,7 @@ x_cr_export_frames (Lisp_Object frames, cairo_surface_type_t surface_type) | |||
| 604 | 604 | ||
| 605 | cr = cairo_create (surface); | 605 | cr = cairo_create (surface); |
| 606 | cairo_surface_destroy (surface); | 606 | cairo_surface_destroy (surface); |
| 607 | record_unwind_protect_pointer (x_cr_destroy, cr); | 607 | record_unwind_protect_ptr (x_cr_destroy, cr); |
| 608 | 608 | ||
| 609 | while (1) | 609 | while (1) |
| 610 | { | 610 | { |