From 781aa2407ff6c8a11fd364dcaf48d55163ae1780 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Mon, 21 Aug 2006 08:06:12 +0000 Subject: Fixes #346549 svn path=/trunk/; revision=32610 --- calendar/ChangeLog | 7 +++++++ calendar/gui/dialogs/task-details-page.c | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 87d7c7fefd..8499f32327 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2006-08-21 Chenthill Palanisamy + + Fixes #346549 + * gui/dialogs/task-details-page.c (priority_index_to_value): + set the priority to undefined if its value does not match the cases. + Removed the assertion so that we don't quit. + 2006-08-21 Srinivasa Ragavan * gui/cal-search-bar.c: (string_without_underscores), diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c index aa3b26abef..a3fc8a2152 100644 --- a/calendar/gui/dialogs/task-details-page.c +++ b/calendar/gui/dialogs/task-details-page.c @@ -237,8 +237,7 @@ priority_index_to_value (TaskEditorPriority priority) retval = 7; break; default: - retval = -1; - g_assert_not_reached (); + retval = 0; break; } -- cgit v1.2.3