diff options
author | corvid <corvid@lavabit.com> | 2009-03-10 17:19:45 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2009-03-10 17:19:45 +0000 |
commit | 3baab85a08385f84a6b4d9dba343eff9e5f5eefe (patch) | |
tree | b3010c3ebf26add05c9328583d3cb22d157f8397 /src/prefs.c | |
parent | eb6c379aeffe3e3ce626fb4ab8fa46dbd7766cbf (diff) |
rm color-handling code in prefs
Diffstat (limited to 'src/prefs.c')
-rw-r--r-- | src/prefs.c | 6 |
1 files changed, 0 insertions, 6 deletions
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 <locale.h> /* for setlocale */ #include <ctype.h> /* 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); |