Print the error when unable to read the configuration
This commit is contained in:
parent
67d30e6fc4
commit
dd0dfc0848
|
@ -758,7 +758,8 @@ static gboolean _new_config_load(gpointer data)
|
|||
return FALSE;
|
||||
if((filename = _mailer_get_config_filename()) == NULL)
|
||||
return FALSE;
|
||||
config_load(mailer->config, filename);
|
||||
if(config_load(mailer->config, filename) != 0)
|
||||
mailer_error(NULL, error_get(), 1);
|
||||
free(filename);
|
||||
value = _mailer_get_font(mailer);
|
||||
font = pango_font_description_from_string(value);
|
||||
|
|
Loading…
Reference in New Issue
Block a user