aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/task-details-page.c3
1 files changed, 1 insertions, 2 deletions
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;
}