summaryrefslogtreecommitdiff
path: root/src/cairo-xcb-connection.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-01-25 12:14:39 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-01-25 12:14:39 +0000
commit8151c72307e8cb369fbb524de56f87f805efff2b (patch)
treef2d6ee9a04c967a1a0599d728b90c29e516d3bdc /src/cairo-xcb-connection.c
parentbe81d656c53c76032fd3fe11c81402d17ec56327 (diff)
downloadcairo-8151c72307e8cb369fbb524de56f87f805efff2b.tar.gz
xcb: compile errors with lockdep
After moving the mutex to the superclass, I forgot to update the references from the lockdep asserts.
Diffstat (limited to 'src/cairo-xcb-connection.c')
-rw-r--r--src/cairo-xcb-connection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cairo-xcb-connection.c b/src/cairo-xcb-connection.c
index 6721e9230..e2293a6f5 100644
--- a/src/cairo-xcb-connection.c
+++ b/src/cairo-xcb-connection.c
@@ -706,7 +706,7 @@ _cairo_xcb_connection_put_xid (cairo_xcb_connection_t *connection,
{
cairo_xcb_xid_t *cache;
- assert (CAIRO_MUTEX_IS_LOCKED (connection->mutex));
+ assert (CAIRO_MUTEX_IS_LOCKED (connection->device.mutex));
cache = _cairo_freepool_alloc (&connection->xid_pool);
if (likely (cache != NULL)) {
cache->xid = xid;
@@ -719,7 +719,7 @@ _cairo_xcb_connection_get_xid (cairo_xcb_connection_t *connection)
{
uint32_t xid;
- assert (CAIRO_MUTEX_IS_LOCKED (connection->mutex));
+ assert (CAIRO_MUTEX_IS_LOCKED (connection->device.mutex));
if (! cairo_list_is_empty (&connection->free_xids)) {
cairo_xcb_xid_t *cache;
@@ -750,7 +750,7 @@ _cairo_xcb_return_socket (void *closure)
cairo_status_t
_cairo_xcb_connection_take_socket (cairo_xcb_connection_t *connection)
{
- assert (CAIRO_MUTEX_IS_LOCKED (connection->mutex));
+ assert (CAIRO_MUTEX_IS_LOCKED (connection->device.mutex));
if (unlikely (connection->device.status))
return connection->device.status;