[cairo-commit] src/cairo-xcb-surface-render.c

Chris Wilson ickle at kemper.freedesktop.org
Wed Jan 9 07:08:45 PST 2013


 src/cairo-xcb-surface-render.c |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 17418371b6755ef22b6d0c5787f71de3005e0730
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Jan 9 15:06:28 2013 +0000

    xcb: _cairo_scaled_font_reset_cache does it own locking
    
    So we can drop ours.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/cairo-xcb-surface-render.c b/src/cairo-xcb-surface-render.c
index 27ed113..cce95a1 100644
--- a/src/cairo-xcb-surface-render.c
+++ b/src/cairo-xcb-surface-render.c
@@ -4165,10 +4165,8 @@ _cairo_xcb_font_close (cairo_xcb_font_t *font)
 
     scaled_font = font->scaled_font;
 
-    CAIRO_MUTEX_LOCK (scaled_font->mutex);
     //scaled_font->surface_private = NULL;
     _cairo_scaled_font_reset_cache (scaled_font);
-    CAIRO_MUTEX_UNLOCK (scaled_font->mutex);
 
     _cairo_xcb_font_destroy (font);
 }


More information about the cairo-commit mailing list