aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/dialogs/recur-comp.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 8d7ffff3bb..fb05f91f04 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-01 Rodrigo Moya <rodrigo@ximian.com>
+
+ * gui/dialogs/recur-comp.c (recur_component_dialog): return correct
+ values (boolean).
+
2004-03-31 JP Rosevear <jpr@ximian.com>
* gui/migration.c (migrate_calendars): make sure we unset the
diff --git a/calendar/gui/dialogs/recur-comp.c b/calendar/gui/dialogs/recur-comp.c
index f097d542f7..d18f6bc59d 100644
--- a/calendar/gui/dialogs/recur-comp.c
+++ b/calendar/gui/dialogs/recur-comp.c
@@ -41,7 +41,7 @@ recur_component_dialog (ECal *client,
ECalComponentVType vtype;
gboolean ret;
- g_return_val_if_fail (E_IS_CAL_COMPONENT (comp), CALOBJ_MOD_THIS);
+ g_return_val_if_fail (E_IS_CAL_COMPONENT (comp), FALSE);
vtype = e_cal_component_get_vtype (comp);
@@ -60,7 +60,7 @@ recur_component_dialog (ECal *client,
default:
g_message ("recur_component_dialog(): Cannot handle object of type %d", vtype);
- return CALOBJ_MOD_THIS;
+ return FALSE;
}