From b7f05f32c0616955d49209b2762458d2fc0a2f04 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 3 Jun 2009 11:58:15 +0200 Subject: [PATCH] draw_context_t's depth member is unused, remove it Signed-off-by: Uli Schlachter Signed-off-by: Julien Danjou --- draw.c | 1 - draw.h | 1 - 2 files changed, 2 deletions(-) diff --git a/draw.c b/draw.c index db9cdb3d..bea8ece5 100644 --- a/draw.c +++ b/draw.c @@ -204,7 +204,6 @@ draw_context_init(draw_context_t *d, int phys_screen, d->phys_screen = phys_screen; d->width = width; d->height = height; - d->depth = s->root_depth; d->visual = draw_screen_default_visual(s); d->pixmap = px; d->surface = cairo_xcb_surface_create(globalconf.connection, px, d->visual, width, height); diff --git a/draw.h b/draw.h index ea74a9ed..5f7c84bb 100644 --- a/draw.h +++ b/draw.h @@ -95,7 +95,6 @@ typedef struct uint16_t width; uint16_t height; int phys_screen; - uint8_t depth; cairo_t *cr; cairo_surface_t *surface; PangoLayout *layout; -- 2.11.4.GIT