From 9a34673d2b99359b0e9f36006fb9b221b5cacbb1 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Sat, 31 Oct 2015 14:47:45 +0100 Subject: coco, nodoka, slider: removed a unused variable and fixes warnings --- src/themes/coco/coco-theme.c | 2 -- src/themes/nodoka/nodoka-theme.c | 2 -- src/themes/slider/theme.c | 2 -- 3 files changed, 6 deletions(-) (limited to 'src') diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c index 5281cc8..e7eb8a0 100644 --- a/src/themes/coco/coco-theme.c +++ b/src/themes/coco/coco-theme.c @@ -185,8 +185,6 @@ static void update_shape_region (cairo_surface_t *surface, WindowData *windata) { - cairo_region_t *region; - if (windata->width == windata->last_width && windata->height == windata->last_height) { return; diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c index a1f996f..15d176e 100644 --- a/src/themes/nodoka/nodoka-theme.c +++ b/src/themes/nodoka/nodoka-theme.c @@ -527,8 +527,6 @@ static void update_shape_region (cairo_surface_t *surface, WindowData *windata) { - cairo_region_t *region; - if (windata->width == windata->last_width && windata->height == windata->last_height) { return; diff --git a/src/themes/slider/theme.c b/src/themes/slider/theme.c index 04ff9ab..f8cf40c 100644 --- a/src/themes/slider/theme.c +++ b/src/themes/slider/theme.c @@ -203,8 +203,6 @@ static void update_shape_region (cairo_surface_t *surface, WindowData *windata) { - cairo_region_t *region; - if (windata->width == windata->last_width && windata->height == windata->last_height) { return; -- cgit v1.2.1