add booleans

This commit is contained in:
Dana Jansens 2003-03-23 00:39:04 +00:00
parent ddb5d43edc
commit 6cebd34855
2 changed files with 4 additions and 2 deletions

View file

@ -35,7 +35,7 @@ void config_startup()
"Titlebar Font",
"The fontstring specifying the font to "
"be used in window titlebars."));
config_def_set(config_def_new("font.shadow", Config_Integer,
config_def_set(config_def_new("font.shadow", Config_Bool,
"Titlebar Font Shadow",
"Whether or not the text in the window "
"titlebars gets a drop shadow."));

View file

@ -5,12 +5,14 @@
typedef enum {
Config_String,
Config_Integer
Config_Integer,
Config_Bool
} ConfigValueType;
typedef union {
char *string;
int integer;
gboolean bool;
} ConfigValue;
typedef struct {