summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-10-31 14:47:45 +0100
committerWolfgang Ulbrich <[email protected]>2015-10-31 14:47:45 +0100
commit9a34673d2b99359b0e9f36006fb9b221b5cacbb1 (patch)
tree702296c834479162bed839432678cf89f8678db8
parentf546a360c6c9385eca9b62d6cccf8099dba0a17e (diff)
downloadmate-notification-daemon-9a34673d2b99359b0e9f36006fb9b221b5cacbb1.tar.bz2
mate-notification-daemon-9a34673d2b99359b0e9f36006fb9b221b5cacbb1.tar.xz
coco, nodoka, slider: removed a unused variable and fixes warnings
-rw-r--r--src/themes/coco/coco-theme.c2
-rw-r--r--src/themes/nodoka/nodoka-theme.c2
-rw-r--r--src/themes/slider/theme.c2
3 files changed, 0 insertions, 6 deletions
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;