diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2011-07-19 23:01:23 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2011-07-19 23:01:23 +0000 |
| commit | e24a1e86c4d4cdf272e3ec0cd33b31bf2d59244c (patch) | |
| tree | 62450c2f83b031d06fa58a74d1816374cd48e0e1 /src/helper/units.cpp | |
| parent | Add two new snap icons, and fix toggling bug for a single button (diff) | |
| download | inkscape-e24a1e86c4d4cdf272e3ec0cd33b31bf2d59244c.tar.gz inkscape-e24a1e86c4d4cdf272e3ec0cd33b31bf2d59244c.zip | |
Remove deprecated Glib symbols
Fixed bugs:
- https://launchpad.net/bugs/367606
(bzr r10480)
Diffstat (limited to 'src/helper/units.cpp')
| -rw-r--r-- | src/helper/units.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/units.cpp b/src/helper/units.cpp index 7914feeb3..4f5443e72 100644 --- a/src/helper/units.cpp +++ b/src/helper/units.cpp @@ -60,8 +60,8 @@ sp_unit_get_by_abbreviation(gchar const *abbreviation) g_return_val_if_fail(abbreviation != NULL, NULL); for (unsigned i = 0 ; i < sp_num_units ; i++) { - if (!g_strcasecmp(abbreviation, sp_units[i].abbr)) return &sp_units[i]; - if (!g_strcasecmp(abbreviation, sp_units[i].abbr_plural)) return &sp_units[i]; + if (!g_ascii_strcasecmp(abbreviation, sp_units[i].abbr)) return &sp_units[i]; + if (!g_ascii_strcasecmp(abbreviation, sp_units[i].abbr_plural)) return &sp_units[i]; } return NULL; |
