aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/cal-client/cal-client.c4
-rw-r--r--calendar/importers/icalendar-importer.c2
3 files changed, 8 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 089d52ef57..8590c1bd0a 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2003-03-26 Jack Jia <jack.jia@sun.com>
* calendar/gui/dialogs/alarm-options.c
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;
diff --git a/calendar/importers/icalendar-importer.c b/calendar/importers/icalendar-importer.c
index 169b090ed6..7707acad1e 100644
--- a/calendar/importers/icalendar-importer.c
+++ b/calendar/importers/icalendar-importer.c
@@ -207,7 +207,7 @@ process_item_fn (EvolutionImporter *importer,
TRUE, ev);
return;
} else if (state != CAL_CLIENT_LOAD_LOADED
- || tasks_state != CAL_CLIENT_LOAD_LOADED) {
+ || tasks_state != CAL_CLIENT_LOAD_LOADED) {
GNOME_Evolution_ImporterListener_notifyResult (
listener,
GNOME_Evolution_ImporterListener_UNSUPPORTED_OPERATION,