[Xfce4-commits] <gtk-xfce-engine:peter/gtk3> Removed unused variables

Peter de Ridder noreply at xfce.org
Sun Jan 8 17:10:02 CET 2012


Updating branch refs/heads/peter/gtk3
         to b987209c2065518f6354f13883f8bc4180a251a0 (commit)
       from 8a6d5caf69d6b063103608277ed040768323e4e4 (commit)

commit b987209c2065518f6354f13883f8bc4180a251a0
Author: Peter de Ridder <peter at xfce.org>
Date:   Mon Dec 12 13:01:53 2011 +0100

    Removed unused variables

 src/xfce_theme_draw.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/xfce_theme_draw.c b/src/xfce_theme_draw.c
index 4635a1a..e41dd33 100644
--- a/src/xfce_theme_draw.c
+++ b/src/xfce_theme_draw.c
@@ -296,14 +296,10 @@ static void xfce_draw_grip_rough (GtkStyle * style, GdkWindow * window, GtkState
 
 static void xfce_draw_grip_slide (GtkStyle * style, GdkWindow * window, GtkStateType state_type, GdkRectangle * area, GtkWidget * widget, gint x, gint y, gint width, gint height, GtkOrientation orientation)
 {
-    gint xthick, ythick;
     gint gx, gy, gwidth, gheight;
     cairo_t *cr;
     GdkColor *light, *dark, *mid, *bg;
 
-    xthick = style->xthickness;
-    ythick = style->ythickness;
-
     light = &style->light[state_type];
     dark = &style->dark[state_type];
     mid = &style->mid[state_type];


More information about the Xfce4-commits mailing list