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/xml/repr-util.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/xml/repr-util.cpp')
| -rw-r--r-- | src/xml/repr-util.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xml/repr-util.cpp b/src/xml/repr-util.cpp index 9405cde01..db1d5591e 100644 --- a/src/xml/repr-util.cpp +++ b/src/xml/repr-util.cpp @@ -494,9 +494,9 @@ sp_repr_get_boolean(Inkscape::XML::Node *repr, gchar const *key, unsigned int *v v = repr->attribute(key); if (v != NULL) { - if (!g_strcasecmp(v, "true") || - !g_strcasecmp(v, "yes" ) || - !g_strcasecmp(v, "y" ) || + if (!g_ascii_strcasecmp(v, "true") || + !g_ascii_strcasecmp(v, "yes" ) || + !g_ascii_strcasecmp(v, "y" ) || (atoi(v) != 0)) { *val = TRUE; } else { |
