From c35a1682204ab10410df6576ece4b7cd867013bc Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@cante.net>
Date: Sun, 20 Dec 2009 21:39:42 +0200
Subject: [PATCH] fspanel.c: Fix scale_icon() and GC mgc

Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
 fspanel.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/fspanel.c b/fspanel.c
index 39708c0..09fde1f 100644
--- a/fspanel.c
+++ b/fspanel.c
@@ -132,10 +132,11 @@ fill_rect (taskbar *tb, int x, int y, int a, int b)
 void
 scale_icon (task *tk)
 {
-	int xx, yy, x, y, w, h, d, bw;
+        int xx, yy, x, y;
+        unsigned int w, h, d, bw;
 	Pixmap pix, mk = None;
 	XGCValues gcv;
-	GC mgc;
+	GC mgc = None;
 
 	Window unused;
 	XGetGeometry (dd, tk->icon, &unused, &x, &y, &w, &h, &bw, &d);
-- 
1.6.5

