From 710c457f08cd262a2075deb1814bcfd6601eb5cd Mon Sep 17 00:00:00 2001 From: Alex Cornejo Date: Mon, 26 May 2008 18:21:20 +0200 Subject: [PATCH] Remove old confuse structures and include. I noticed the new version of awesome does not (or should not) depend on libconfuse, however there were some unused headers and structures that needed to be removed in order to compile without having libconfuse. Signed-off-by: Julien Danjou --- common/draw.h | 2 -- widgets/graph.c | 1 - widgets/progressbar.c | 2 -- 3 files changed, 5 deletions(-) diff --git a/common/draw.h b/common/draw.h index a7fb2d3b6..af875447b 100644 --- a/common/draw.h +++ b/common/draw.h @@ -25,8 +25,6 @@ #include #include -#include - #include #include "config.h" diff --git a/widgets/graph.c b/widgets/graph.c index 6f706184b..cb7d72785 100644 --- a/widgets/graph.c +++ b/widgets/graph.c @@ -377,7 +377,6 @@ graph_new(alignment_t align) { widget_t *w; Data *d; - cfg_t *cfg; char *color; int i; char *type; diff --git a/widgets/progressbar.c b/widgets/progressbar.c index 599ea9b67..e206ad0f3 100644 --- a/widgets/progressbar.c +++ b/widgets/progressbar.c @@ -489,8 +489,6 @@ progressbar_new(alignment_t align) Data *d; char *color; int i; - cfg_t *cfg; - w = p_new(widget_t, 1); widget_common_new(w);