no ned to make the config values optional on build

SVN revision: 21642
This commit is contained in:
Carsten Haitzler 2006-04-01 01:27:47 +00:00
parent df2ea4c01e
commit ecd5f7db7f
2 changed files with 0 additions and 6 deletions

View File

@ -460,9 +460,7 @@ e_config_init(void)
E_CONFIG_VAL(D, T, font_hinting, INT);
E_CONFIG_VAL(D, T, desklock_personal_passwd, STR);
E_CONFIG_VAL(D, T, desklock_background, STR);
#ifdef HAVE_PAM
E_CONFIG_VAL(D, T, desklock_auth_method, INT);
#endif
E_CONFIG_VAL(D, T, desklock_login_box_zone, INT);
E_CONFIG_VAL(D, T, desklock_autolock, INT);
E_CONFIG_VAL(D, T, desklock_use_timeout, INT);
@ -634,9 +632,7 @@ e_config_init(void)
e_config->desklock_personal_passwd = NULL;
e_config->desklock_background = NULL;
#ifdef HAVE_PAM
e_config->desklock_auth_method = 0;
#endif
e_config->desklock_login_box_zone = -1;
e_config->desklock_autolock = 0;
e_config->desklock_use_timeout = 0;

View File

@ -217,9 +217,7 @@ struct _E_Config
char *desklock_personal_passwd; // GUI
char *desklock_background; // GUI
#ifdef HAVE_PAM
int desklock_auth_method; // GUI
#endif
int desklock_login_box_zone; // GUI
int desklock_autolock; // GUI
int desklock_use_timeout; // GUI