aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-04-18 16:22:19 -0500
committerTed Gould <ted@gould.cx>2012-04-18 16:22:19 -0500
commit31125e1a32660e4b07d30e37993ac7d09fec9ff6 (patch)
tree3c6155a64a45f5c2b3e374ba74cb756ba01c85a3
parentbb58a4eb0f358ab958ceaf9186350aabc6963d01 (diff)
downloadayatana-indicator-datetime-31125e1a32660e4b07d30e37993ac7d09fec9ff6.tar.gz
ayatana-indicator-datetime-31125e1a32660e4b07d30e37993ac7d09fec9ff6.tar.bz2
ayatana-indicator-datetime-31125e1a32660e4b07d30e37993ac7d09fec9ff6.zip
Use the same function here as well, just to ensure we're consistent
-rw-r--r--src/datetime-prefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datetime-prefs.c b/src/datetime-prefs.c
index 0e2e99c..c941694 100644
--- a/src/datetime-prefs.c
+++ b/src/datetime-prefs.c
@@ -613,11 +613,11 @@ timezone_selected (GtkEntryCompletion * widget, GtkTreeModel * model,
-1);
if (strlon != NULL && strlon[0] != 0) {
- lon = strtod(strlon, NULL);
+ lon = g_ascii_strtod(strlon, NULL);
}
if (strlat != NULL && strlat[0] != 0) {
- lat = strtod(strlat, NULL);
+ lat = g_ascii_strtod(strlat, NULL);
}
zone = cc_timezone_map_get_timezone_at_coords (self->priv->tzmap, lon, lat);