From 3baab85a08385f84a6b4d9dba343eff9e5f5eefe Mon Sep 17 00:00:00 2001 From: corvid Date: Tue, 10 Mar 2009 17:19:45 +0000 Subject: rm color-handling code in prefs --- src/prefs.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/prefs.c b/src/prefs.c index ddd44d72..4f74bfa1 100644 --- a/src/prefs.c +++ b/src/prefs.c @@ -26,7 +26,6 @@ #include /* for setlocale */ #include /* for isspace */ #include "prefs.h" -#include "colors.h" #include "misc.h" #include "msg.h" @@ -58,7 +57,6 @@ typedef enum { PREFS_URL, PREFS_INT32, PREFS_DOUBLE, - PREFS_COLOR, PREFS_GEOMETRY, PREFS_PANEL_SIZE } PrefType_t; @@ -87,7 +85,6 @@ static int Prefs_symbol_cmp(const void *a, const void *b) static int Prefs_parse_pair(char *name, char *value, const SymNode_t *symbols, int n_symbols) { - int st; SymNode_t key, *node; key.name = name; @@ -116,9 +113,6 @@ static int Prefs_parse_pair(char *name, char *value, const SymNode_t *symbols, case PREFS_DOUBLE: *(double *)node->pref = strtod(value, NULL); break; - case PREFS_COLOR: - *(int32_t *)node->pref = a_Color_parse(value, *(int32_t*)node->pref,&st); - break; case PREFS_GEOMETRY: a_Misc_parse_geometry(value, &prefs.xpos, &prefs.ypos, &prefs.width, &prefs.height); -- cgit v1.2.3