aboutsummaryrefslogtreecommitdiff
path: root/hildon/hildon-date-selector.c
diff options
context:
space:
mode:
authorAlberto Garcia <agarcia@igalia.com>2010-02-12 11:06:43 +0100
committerAlberto Garcia <agarcia@igalia.com>2010-02-12 11:06:47 +0100
commit835aeb6cf94b0f9af988e9f3bae5c4ea72c985ff (patch)
treeed22290ff04742c08037c26cd9155009433df8b5 /hildon/hildon-date-selector.c
parenta2ea3ec12fdc3b410c816c09ec147eb48496ce38 (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.c2
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;