Make BirthdayDetails.calendar_event_id nullable
authorPhilip Withnall <philip@tecnocode.co.uk>
Sun, 10 Jul 2011 18:52:03 +0000 (19:52 +0100)
committerPhilip Withnall <philip@tecnocode.co.uk>
Wed, 20 Jul 2011 21:31:38 +0000 (22:31 +0100)
This includes expanding its documentation a little.

NEWS
backends/tracker/lib/trf-persona.vala
folks/birthday-details.vala

diff --git a/NEWS b/NEWS
index 7bcfe86..ea2f598 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -32,6 +32,7 @@ API changes:
 * Add a Persona.individual property
 * Add a Persona.writeable_properties property and implement it in all the
   Persona subclasses
+* Make BirthdayDetails.calendar_event_id nullable
 
 Overview of changes from libfolks 0.5.1 to libfolks 0.5.2
 =========================================================
index 136f9a5..de06745 100644 (file)
@@ -205,7 +205,7 @@ public class Trf.Persona : Folks.Persona,
   /**
    * {@inheritDoc}
    */
-  public string calendar_event_id
+  public string? calendar_event_id
     {
       /* Unsupported */
       get { return null; }
index 2303e0b..4ff2dc0 100644 (file)
@@ -37,9 +37,11 @@ public interface Folks.BirthdayDetails : Object
   public abstract DateTime birthday { get; set; }
 
   /**
-   * The event id from the source calenar
+   * The event ID of the birthday event from the source calendar.
+   *
+   * If this is `null`, the birthday event is unknown.
    *
    * @since 0.4.0
    */
-  public abstract string calendar_event_id { get; set; }
+  public abstract string? calendar_event_id { get; set; }
 }