From b5759552633c60c90d96e421d3827fad6a21e676 Mon Sep 17 00:00:00 2001 From: "Carlos R. Mafra" Date: Fri, 16 Apr 2010 12:47:25 +0200 Subject: [PATCH] Remove NEWSTUFF #ifdef's ...as they are never defined and there is no code associated to it. --- src/defaults.c | 3 --- src/screen.h | 6 ------ 2 files changed, 9 deletions(-) diff --git a/src/defaults.c b/src/defaults.c index b772e3e8..930d47c0 100644 --- a/src/defaults.c +++ b/src/defaults.c @@ -107,9 +107,6 @@ static int getFont(); static int getColor(); static int getKeybind(); static int getModMask(); -#ifdef NEWSTUFF -static int getRImage(); -#endif static int getPropList(); /* value setting functions */ diff --git a/src/screen.h b/src/screen.h index b9d4df3e..51edd535 100644 --- a/src/screen.h +++ b/src/screen.h @@ -194,9 +194,7 @@ typedef struct _WScreen { GC draw_gc; /* gc for drawing misc things */ GC mono_gc; /* gc for 1 bit drawables */ -#ifndef NEWSTUFF struct WPixmap *b_pixmaps[PRED_BPIXMAPS]; /* internal pixmaps for buttons*/ -#endif struct WPixmap *menu_radio_indicator;/* left menu indicator */ struct WPixmap *menu_check_indicator;/* left menu indicator for checkmark */ struct WPixmap *menu_mini_indicator; /* for miniwindow */ @@ -247,10 +245,6 @@ typedef struct _WScreen { struct W_GeometryView *gview; /* size/position view */ -#ifdef NEWSTUFF - struct RImage *button_images[2][PRED_BPIXMAPS];/* scaled tbar btn images */ -#endif - /* state and other informations */ short cascade_index; /* for cascade window placement */