diff options
author | Tor Lillqvist <tml@novell.com> | 2005-12-18 18:21:24 +0800 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-12-18 18:21:24 +0800 |
commit | 86c90c049e0f4d793c38c6dd239e1bb0b1aeff5f (patch) | |
tree | d86ffa9f2a1cb1bd3f0804b6387a172b7b042201 /widgets/table/e-table-config.c | |
parent | fc17a49138e2134bf14816950fd764f21f08df34 (diff) | |
download | gsoc2013-evolution-86c90c049e0f4d793c38c6dd239e1bb0b1aeff5f.tar.gz gsoc2013-evolution-86c90c049e0f4d793c38c6dd239e1bb0b1aeff5f.tar.zst gsoc2013-evolution-86c90c049e0f4d793c38c6dd239e1bb0b1aeff5f.zip |
Use g_ascii_strcasecmp() instead of g_strcasecmp(). This function handles
2005-12-18 Tor Lillqvist <tml@novell.com>
* e-table-config.c (find_model_column_by_name): Use
g_ascii_strcasecmp() instead of g_strcasecmp(). This function
handles the English column names.
* e-table-specification.c (e_table_specification_load_from_file)
* e-table-state.c (e_table_state_load_from_file):
Use e_xml_parse_file().
svn path=/trunk/; revision=30867
Diffstat (limited to 'widgets/table/e-table-config.c')
-rw-r--r-- | widgets/table/e-table-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c index cefd5f3491..7923a21d9a 100644 --- a/widgets/table/e-table-config.c +++ b/widgets/table/e-table-config.c @@ -181,7 +181,7 @@ find_model_column_by_name (ETableSpecification *spec, const char *s) if ((*column)->disabled) continue; - if (g_strcasecmp ((*column)->title, s) == 0) + if (g_ascii_strcasecmp ((*column)->title, s) == 0) return (*column)->model_col; } return -1; |