aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAri Roponen2018-06-16 08:37:04 +0300
committerEli Zaretskii2018-06-16 10:14:10 +0300
commita36008b5fc92b9ea00d70973ddc761c94a831c01 (patch)
tree67b8ebd662038e4a87da0f1e2be1883941adf6dc /src
parent7f2cfcce95d6472b436def7a9cdf4e47a3b82eaf (diff)
downloademacs-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.c4
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
546static void 546static void
547x_cr_destroy (void *cr); 547x_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 {