=?utf-8?q?=5Bfolks=5D_docs=3A_Add_replacement_symbols_to_=E2=80=98Depreca?= =?utf-8?q?ted=E2=80=99_annotations?=
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] docs: Add replacement symbols to âDeprecatedâ annotations
- Date: Mon, 13 Aug 2012 20:45:51 +0000 (UTC)
commit 31fb146870a32699a78ce5b082a550116386968b
Author: Philip Withnall <philip tecnocode co uk>
Date: Mon Aug 13 21:45:20 2012 +0100
docs: Add replacement symbols to âDeprecatedâ annotations
This improves the documentation (and valac error messages) a little.
backends/eds/lib/edsf-persona.vala | 3 ++-
folks/utils.vala | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/backends/eds/lib/edsf-persona.vala b/backends/eds/lib/edsf-persona.vala
index 39c46a8..bfc92d0 100644
--- a/backends/eds/lib/edsf-persona.vala
+++ b/backends/eds/lib/edsf-persona.vala
@@ -85,7 +85,8 @@ public class Edsf.Persona : Folks.Persona,
*
* @since 0.6.0
*/
- [Deprecated]
+ [Deprecated (since = "0.6.3",
+ replacement = "Folks.UrlFieldDetails.PARAM_TYPE_BLOG")]
public static const string[] url_properties = {
"blog_url", "fburl", "homepage_url", "video_url"
};
diff --git a/folks/utils.vala b/folks/utils.vala
index afa5f0b..de6a4a9 100644
--- a/folks/utils.vala
+++ b/folks/utils.vala
@@ -50,7 +50,7 @@ public class Folks.Utils : Object
* @return a new utilities object
* @since 0.6.0
*/
- [Deprecated (since = "UNRELEASED")]
+ [Deprecated (since = "UNRELEASED", replacement = "Folks.Utils")]
public Utils ()
{
base ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]