Deprecate PersonaStore.can-[alias|group]-personas
authorRaul Gutierrez Segales <rgs@collabora.co.uk>
Mon, 19 Sep 2011 11:38:08 +0000 (12:38 +0100)
committerRaul Gutierrez Segales <rgs@collabora.co.uk>
Tue, 20 Sep 2011 13:13:09 +0000 (14:13 +0100)
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=658332

NEWS
folks/persona-store.vala

diff --git a/NEWS b/NEWS
index 5e3246d..c862e0a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,13 @@
 Overview of changes from libfolks 0.6.3 to libfolks 0.6.4
 ===========================================================
+Bugs fixed:
+* Bug 658631 — Deprecate PersonaStore.can-[alias|group]-personas
+
+API changes:
+* Deprecate Folks.PersonaStore.can_[alias, group]_personas.
+  Applications should use Folks.PersonaStore#always-writeable-properties
+  and Folks.Persona#writeable-properties to check availability of "alias"
+  and "groups" properties.
 
 Overview of changes from libfolks 0.6.2.1 to libfolks 0.6.3
 ===========================================================
index 307f6a9..2fcdd37 100644 (file)
@@ -449,6 +449,8 @@ public abstract class Folks.PersonaStore : Object
    *
    * @since 0.3.1
    */
+  [Deprecated (since = "UNRELEASED",
+      replacement = "PersonaStore.always_writeable_properties")]
   public abstract MaybeBool can_alias_personas
     {
       get;
@@ -460,6 +462,8 @@ public abstract class Folks.PersonaStore : Object
    *
    * @since 0.3.1
    */
+  [Deprecated (since = "UNRELEASED",
+      replacement = "PersonaStore.always_writeable_properties")]
   public abstract MaybeBool can_group_personas
     {
       get;