[folks] Deprecate PersonaStore.can-[alias|group]-personas



commit 67f55ab19dc994559f224c3d006aed81789cde04
Author: Raul Gutierrez Segales <rgs collabora co uk>
Date:   Mon Sep 19 12:38:08 2011 +0100

    Deprecate PersonaStore.can-[alias|group]-personas
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=658332

 NEWS                     |    8 ++++++++
 folks/persona-store.vala |    4 ++++
 2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 5e3246d..c862e0a 100644
--- 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
 ===========================================================
diff --git a/folks/persona-store.vala b/folks/persona-store.vala
index 307f6a9..2fcdd37 100644
--- a/folks/persona-store.vala
+++ b/folks/persona-store.vala
@@ -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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]