[Telepathy-commits] [telepathy-spec/master] Change Account.Connection to be the object path (API break)
Simon McVittie
simon.mcvittie at collabora.co.uk
Wed Oct 1 06:29:56 PDT 2008
The object path is more frequently used in other bits of our API and is
syntactically validated by the libraries.
---
NEWS | 4 ++++
spec/Account.xml | 10 +++++++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/NEWS b/NEWS
index 2be2086..22a4010 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,10 @@ checkouts.
telepathy-spec 0.17.13 (UNRELEASED)
===================================
+API changes:
+
+* The Account.Connection property is now an object path, or '/' for none.
+
New API:
New experimental API:
diff --git a/spec/Account.xml b/spec/Account.xml
index 4c32498..5f7b5b7 100644
--- a/spec/Account.xml
+++ b/spec/Account.xml
@@ -346,10 +346,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</property>
<property name="Connection" tp:name-for-bindings="Connection"
- type="s" access="read">
+ type="o" access="read">
<tp:docstring>
- Either the well-known bus name of the connection to this account,
- or the empty string if there is no connection.
+ Either the object path of the connection to this account,
+ or the special value '/' if there is no connection.
+
+ <tp:rationale>
+ Object paths aren't nullable, so we can't use an empty string.
+ </tp:rationale>
</tp:docstring>
</property>
--
1.5.6.5
More information about the Telepathy-commits
mailing list