diff options
author | Alberto Garcia <agarcia@igalia.com> | 2010-02-12 11:06:43 +0100 |
---|---|---|
committer | Alberto Garcia <agarcia@igalia.com> | 2010-02-12 11:06:47 +0100 |
commit | 835aeb6cf94b0f9af988e9f3bae5c4ea72c985ff (patch) | |
tree | ed22290ff04742c08037c26cd9155009433df8b5 /hildon/hildon-date-selector.c | |
parent | a2ea3ec12fdc3b410c816c09ec147eb48496ce38 (diff) |
Don't crash HildonDateSelector if a locale is not available
Fixes: NB#156737
Diffstat (limited to 'hildon/hildon-date-selector.c')
-rw-r--r-- | hildon/hildon-date-selector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hildon/hildon-date-selector.c b/hildon/hildon-date-selector.c index cc4381a..bdcef93 100644 --- a/hildon/hildon-date-selector.c +++ b/hildon/hildon-date-selector.c @@ -482,7 +482,7 @@ _init_column_order (HildonDateSelector * selector) if ((day_pos == NULL) || (month_pos == NULL) || (year_pos == NULL)) { - g_error ("Wrong date format"); /* so default values */ + g_warning ("Wrong date format"); /* use default values */ selector->priv->day_column = 0; selector->priv->month_column = 1; |