aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-03-27 01:37:23 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-03-27 01:37:23 +0800
commit80cca17bf0ddf12148625f88da7538181d3ba490 (patch)
treedc2dc5993243e690e369c7921d11d6c5fe2ea686 /calendar/cal-client
parent3f826a8b2a3b0e3c3487004cbd6736d5775246fe (diff)
downloadgsoc2013-evolution-80cca17bf0ddf12148625f88da7538181d3ba490.tar.gz
gsoc2013-evolution-80cca17bf0ddf12148625f88da7538181d3ba490.tar.zst
gsoc2013-evolution-80cca17bf0ddf12148625f88da7538181d3ba490.zip
return correct values in g_return_val_if_fail.
2003-03-26 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c (cal_client_get_load_state): return correct values in g_return_val_if_fail. svn path=/trunk/; revision=20516
Diffstat (limited to 'calendar/cal-client')
-rw-r--r--calendar/cal-client/cal-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c
index b5e5daf2cc..9921899636 100644
--- a/calendar/cal-client/cal-client.c
+++ b/calendar/cal-client/cal-client.c
@@ -1101,8 +1101,8 @@ cal_client_get_load_state (CalClient *client)
{
CalClientPrivate *priv;
- g_return_val_if_fail (client != NULL, FALSE);
- g_return_val_if_fail (IS_CAL_CLIENT (client), FALSE);
+ g_return_val_if_fail (client != NULL, CAL_CLIENT_LOAD_NOT_LOADED);
+ g_return_val_if_fail (IS_CAL_CLIENT (client), CAL_CLIENT_LOAD_NOT_LOADED);
priv = client->priv;
return priv->load_state;