[next] telepathy-spec: ChannelRequest: Annotate immutable properties

Xavier Claessens xclaesse at kemper.freedesktop.org
Fri Sep 7 10:11:33 PDT 2012


Module: telepathy-spec
Branch: next
Commit: a8ea55f41c90ba0e423e17dbecc00bd8381bb30b
URL:    http://cgit.freedesktop.org/telepathy/telepathy-spec/commit/?id=a8ea55f41c90ba0e423e17dbecc00bd8381bb30b

Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date:   Fri Sep  7 19:10:01 2012 +0200

ChannelRequest: Annotate immutable properties

---

 spec/Channel_Request.xml |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/spec/Channel_Request.xml b/spec/Channel_Request.xml
index 5347f96..49a3e7b 100644
--- a/spec/Channel_Request.xml
+++ b/spec/Channel_Request.xml
@@ -49,7 +49,7 @@
     </tp:docstring>
 
     <property name="Account" tp:name-for-bindings="Account"
-      type="o" access="read">
+      type="o" access="read" tp:immutable="yes">
       <tp:docstring>
         The <tp:dbus-ref
           namespace="im.telepathy1">Account</tp:dbus-ref>
@@ -58,7 +58,8 @@
     </property>
 
     <property name="UserActionTime" tp:name-for-bindings="User_Action_Time"
-      type="x" tp:type="User_Action_Timestamp" access="read">
+      type="x" tp:type="User_Action_Timestamp" access="read"
+      tp:immutable="yes">
       <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
         <p>The time at which user action occurred, or 0 if this channel
           request is for some reason not involving user action.</p>
@@ -69,7 +70,7 @@
     </property>
 
     <property name="PreferredHandler" tp:name-for-bindings="Preferred_Handler"
-      type="s" tp:type="DBus_Well_Known_Name" access="read">
+      type="s" tp:type="DBus_Well_Known_Name" access="read" tp:immutable="yes">
       <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
           <p>Either the well-known bus name (starting with
             <code>im.telepathy1.Client.</code>)
@@ -84,7 +85,7 @@
 
     <property name="Requests" tp:name-for-bindings="Requests" type="aa{sv}"
       tp:type="Qualified_Property_Value_Map[]"
-      access="read">
+      access="read" tp:immutable="yes">
       <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
         <p>An array of dictionaries containing desirable properties for
           the channel or channels to be created.</p>
@@ -100,7 +101,7 @@
     </property>
 
     <property name="Interfaces" tp:name-for-bindings="Interfaces"
-      type="as" access="read" tp:type="DBus_Interface[]">
+      type="as" access="read" tp:type="DBus_Interface[]" tp:immutable="yes">
       <tp:docstring>
         A list of the extra interfaces provided by this channel request.
         This property cannot change.
@@ -206,7 +207,7 @@
     </signal>
 
     <property name="Hints" tp:name-for-bindings="Hints"
-      type="a{sv}" access="read">
+      type="a{sv}" access="read" tp:immutable="yes">
       <tp:added version="0.21.5"/>
       <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
         <p>A dictionary of metadata provided by the channel



More information about the telepathy-commits mailing list