From 4af4be5236fa89b1c85860ac9db25e58b94b5b28 Mon Sep 17 00:00:00 2001 From: Irene Huang Date: Mon, 17 Oct 2005 10:03:06 +0000 Subject: Should not return a value, so, change all the g_return_val_if_fail to 2005-10-17 Irene Huang * 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. svn path=/trunk/; revision=30510 --- calendar/ChangeLog | 5 +++++ calendar/gui/e-tasks.c | 4 ++-- 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 + + * 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 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) { -- cgit v1.2.3