aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog3
-rw-r--r--calendar/cal-util/calobj.c3
-rw-r--r--calendar/cal-util/calobj.h2
3 files changed, 5 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 940b367c53..a99369168f 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,8 @@
2000-06-07 Seth Alves <alves@hungry.com>
+ * cal-util/calobj.c (ical_object_find_in_string): put this back in,
+ it's still used in cal-backend-imc.c:cal_backend_imc_update_object
+
* cal-client/cal-client.c (cal_client_get_object): instead of
returning a text representation, decode the text and return an
iCalObject. Also added CalClientGetStatus which indicates
diff --git a/calendar/cal-util/calobj.c b/calendar/cal-util/calobj.c
index 8c87aafe32..8addf8d9f6 100644
--- a/calendar/cal-util/calobj.c
+++ b/calendar/cal-util/calobj.c
@@ -1554,7 +1554,6 @@ alarm_compute_offset (CalendarAlarm *a)
}
-#if 0
/**
* ical_object_find_in_string:
* @uid: Unique identifier of the sought object.
@@ -1677,7 +1676,7 @@ ical_object_find_in_string (const char *uid, const char *vcalobj, iCalObject **i
return status;
#endif /* 0 */
}
-#endif /* 0 */
+
#if 0
/* Creates a VObject with the base information of a calendar */
diff --git a/calendar/cal-util/calobj.h b/calendar/cal-util/calobj.h
index 9ac1964e7f..57514250e5 100644
--- a/calendar/cal-util/calobj.h
+++ b/calendar/cal-util/calobj.h
@@ -250,7 +250,7 @@ typedef enum {
CAL_OBJ_FIND_NOT_FOUND
} CalObjFindStatus;
-//CalObjFindStatus ical_object_find_in_string (const char *uid, const char *vcalobj, iCalObject **ico);
+CalObjFindStatus ical_object_find_in_string (const char *uid, const char *vcalobj, iCalObject **ico);
char *ical_object_to_string (iCalObject *ico);