aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-tasks.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 1c471f51d4..33fa12da9f 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-17 Irene Huang <Irene.Huang@sun.com>
+
+ * gui/e-tasks.c: (e_tasks_show_preview): Should not return a value, so,
+ change all the g_return_val_if_fail to g_return_if_fail.
+
2005-10-10 Chenthill Palanisamy <pchenthill@novell.com>
Fixes #266144, 317575.
diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c
index a64359ab56..77dc1c4369 100644
--- a/calendar/gui/e-tasks.c
+++ b/calendar/gui/e-tasks.c
@@ -1008,8 +1008,8 @@ e_tasks_show_preview (ETasks *tasks, gboolean state)
{
ETasksPrivate *priv;
- g_return_val_if_fail (tasks != NULL, FALSE);
- g_return_val_if_fail (E_IS_TASKS (tasks), FALSE);
+ g_return_if_fail (tasks != NULL);
+ g_return_if_fail (E_IS_TASKS (tasks));
priv = tasks->priv;
if (state) {