aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2006-08-21 16:06:12 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2006-08-21 16:06:12 +0800
commit781aa2407ff6c8a11fd364dcaf48d55163ae1780 (patch)
tree1865e01f48f15890b751059c4dcec22e4a42b9f6 /calendar
parentf5f9c6a39d31b8484be7032418ebbde92ebdcb68 (diff)
downloadgsoc2013-evolution-781aa2407ff6c8a11fd364dcaf48d55163ae1780.tar
gsoc2013-evolution-781aa2407ff6c8a11fd364dcaf48d55163ae1780.tar.gz
gsoc2013-evolution-781aa2407ff6c8a11fd364dcaf48d55163ae1780.tar.bz2
gsoc2013-evolution-781aa2407ff6c8a11fd364dcaf48d55163ae1780.tar.lz
gsoc2013-evolution-781aa2407ff6c8a11fd364dcaf48d55163ae1780.tar.xz
gsoc2013-evolution-781aa2407ff6c8a11fd364dcaf48d55163ae1780.tar.zst
gsoc2013-evolution-781aa2407ff6c8a11fd364dcaf48d55163ae1780.zip
Fixes #346549
svn path=/trunk/; revision=32610
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/dialogs/task-details-page.c3
2 files changed, 8 insertions, 2 deletions
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 <pchenthill@novell.com>
+
+ 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 <sragavan@novell.com>
* 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;
}