From 0ac744c07635007cbd97beea400a23e1469736cc Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Tue, 3 Dec 2013 17:04:58 +0100 Subject: [PATCH] I guess this mutex is no longer needed Signed-off-by: Sebastian Ramacher --- page-widget.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/page-widget.c b/page-widget.c index 9c9020a..59dbd8b 100644 --- a/page-widget.c +++ b/page-widget.c @@ -24,7 +24,12 @@ typedef struct zathura_page_widget_private_s { zathura_t* zathura; /**< Zathura object */ cairo_surface_t* surface; /**< Cairo surface */ ZathuraRenderRequest* render_request; /* Request object */ - mutex lock; /**< Lock */ + /** Lock + * + * This mutex can probably be removed. All functions are now called from the + * main thread. + */ + mutex lock; bool cached; /**< Cached state */ struct {