summaryrefslogtreecommitdiff
path: root/libs/clearlooks-newer/clearlooks_draw_gummy.c
diff options
context:
space:
mode:
authorJulien de Kozak <jdekozak@hotmail.com>2013-03-24 14:55:56 +0100
committerJulien de Kozak <jdekozak@hotmail.com>2013-03-30 18:09:40 +0100
commit27d77b8719c15254369391e57227d20c4cfcbb20 (patch)
tree363073c33ff720705caff6554c750f0b1c2a6003 /libs/clearlooks-newer/clearlooks_draw_gummy.c
parentdeaceb4727effced797ecac67fa55e5eef75b003 (diff)
Fix some compilation warnings
Diffstat (limited to 'libs/clearlooks-newer/clearlooks_draw_gummy.c')
-rw-r--r--libs/clearlooks-newer/clearlooks_draw_gummy.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/clearlooks-newer/clearlooks_draw_gummy.c b/libs/clearlooks-newer/clearlooks_draw_gummy.c
index b57cf24fdf..0d736b5acc 100644
--- a/libs/clearlooks-newer/clearlooks_draw_gummy.c
+++ b/libs/clearlooks-newer/clearlooks_draw_gummy.c
@@ -665,7 +665,6 @@ clearlooks_gummy_draw_tab (cairo_t *cr,
cairo_pattern_t *pattern;
double radius;
- double strip_size;
radius = MIN (params->radius, MIN ((width - 2.0) / 2.0, (height - 2.0) / 2.0));
@@ -683,7 +682,6 @@ clearlooks_gummy_draw_tab (cairo_t *cr,
if (tab->gap_side == CL_GAP_TOP || tab->gap_side == CL_GAP_BOTTOM)
{
height += 3.0;
- strip_size = 2.0/height; /* 2 pixel high strip */
if (tab->gap_side == CL_GAP_TOP)
cairo_translate (cr, 0.0, -3.0); /* gap at the other side */
@@ -691,7 +689,6 @@ clearlooks_gummy_draw_tab (cairo_t *cr,
else
{
width += 3.0;
- strip_size = 2.0/width;
if (tab->gap_side == CL_GAP_LEFT)
cairo_translate (cr, -3.0, 0.0); /* gap at the other side */
@@ -927,7 +924,6 @@ clearlooks_gummy_draw_scrollbar_stepper (cairo_t *cr,
CairoColor fill;
CairoColor shade1, shade2, shade3;
cairo_pattern_t *pattern;
- ShadowParameters shadow;
double radius = MIN (widget->radius, MIN ((width - 2.0) / 2.0, (height - 2.0) / 2.0));
if (scrollbar->horizontal)
@@ -977,8 +973,6 @@ clearlooks_gummy_draw_scrollbar_stepper (cairo_t *cr,
cairo_stroke (cr);
cairo_translate (cr, 0.5, 0.5);
- shadow.shadow = CL_SHADOW_OUT;
- shadow.corners = corners;
}
static void