[Telepathy-commits] [telepathy-spec/master] Fix some arg names due to review input from Simon

Olli Salli olli.salli at collabora.co.uk
Tue Sep 9 08:53:21 PDT 2008


20080725141033-9db4d-32f39a52aa454b753e752da2af233ea486ea0eda.gz
---
 spec/Channel_Type_Streamed_Media.xml   |    2 +-
 spec/Connection_Interface_Presence.xml |    2 +-
 spec/Connection_Manager.xml            |    6 +++---
 spec/Media_Session_Handler.xml         |    3 ++-
 spec/Media_Stream_Handler.xml          |    4 ++--
 5 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/spec/Channel_Type_Streamed_Media.xml b/spec/Channel_Type_Streamed_Media.xml
index 776862a..aebc131 100644
--- a/spec/Channel_Type_Streamed_Media.xml
+++ b/spec/Channel_Type_Streamed_Media.xml
@@ -273,7 +273,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
         The stream identifier (as defined in ListStreams)
         </tp:docstring>
       </arg>
-      <arg name="Errno" type="u">
+      <arg name="Error_Code" type="u" tp:type="Media_Stream_Error">
         <tp:docstring>
           A stream error number, one of the values of MediaStreamError
         </tp:docstring>
diff --git a/spec/Connection_Interface_Presence.xml b/spec/Connection_Interface_Presence.xml
index 0f7b7c8..58ad34e 100644
--- a/spec/Connection_Interface_Presence.xml
+++ b/spec/Connection_Interface_Presence.xml
@@ -69,7 +69,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
           The string identifier of the desired status
         </tp:docstring>
       </arg>
-      <arg direction="in" name="Parms" type="a{sv}" tp:type="String_Variant_Map">
+      <arg direction="in" name="Parameters" type="a{sv}" tp:type="String_Variant_Map">
         <tp:docstring>
           A dictionary of optional parameter names mapped to their variant-boxed values
         </tp:docstring>
diff --git a/spec/Connection_Manager.xml b/spec/Connection_Manager.xml
index 3dd5d33..c1bef5d 100644
--- a/spec/Connection_Manager.xml
+++ b/spec/Connection_Manager.xml
@@ -141,7 +141,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
     </tp:flags>
 
     <method name="GetParameters" tp:name-for-bindings="Get_Parameters">
-      <arg direction="in" name="Proto" type="s" tp:type="Protocol">
+      <arg direction="in" name="Protocol" type="s" tp:type="Protocol">
         <tp:docstring>
           The required protocol name
         </tp:docstring>
@@ -187,7 +187,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
           The object path of the Connection object on this service
         </tp:docstring>
       </arg>
-      <arg name="Proto" type="s" tp:type="Protocol">
+      <arg name="Protocol" type="s" tp:type="Protocol">
         <tp:docstring>
           The identifier for the protocol this connection uses
         </tp:docstring>
@@ -198,7 +198,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
     </signal>
 
     <method name="RequestConnection" tp:name-for-bindings="Request_Connection">
-      <arg direction="in" name="Proto" type="s" tp:type="Protocol">
+      <arg direction="in" name="Protocol" type="s" tp:type="Protocol">
         <tp:docstring>
           The protocol identifier
         </tp:docstring>
diff --git a/spec/Media_Session_Handler.xml b/spec/Media_Session_Handler.xml
index 8719f00..f4dcf92 100644
--- a/spec/Media_Session_Handler.xml
+++ b/spec/Media_Session_Handler.xml
@@ -20,7 +20,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
   </tp:license>
   <interface name="org.freedesktop.Telepathy.Media.SessionHandler">
     <method name="Error">
-      <arg direction="in" name="Errno" type="u"/>
+      <arg direction="in" name="Error_Code" type="u"
+        tp:type="Media_Stream_Error"/>
       <arg direction="in" name="Message" type="s"/>
       <tp:docstring>
         THIS METHOD IS DEPRECATED AND SHOULD NOT BE USED. Instead the Error
diff --git a/spec/Media_Stream_Handler.xml b/spec/Media_Stream_Handler.xml
index 02ce82c..1d45f9e 100644
--- a/spec/Media_Stream_Handler.xml
+++ b/spec/Media_Stream_Handler.xml
@@ -84,7 +84,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
       </tp:docstring>
     </method>
     <method name="Error">
-      <arg direction="in" name="Errno" type="u" tp:type="Media_Stream_Error">
+      <arg direction="in" name="Error_Code" type="u" tp:type="Media_Stream_Error">
         <tp:docstring>
           ID of error, from the MediaStreamError enumeration
         </tp:docstring>
@@ -284,7 +284,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
       </tp:docstring>
     </signal>
     <signal name="StopTelephonyEvent"
-      tp:name-for-bindings="Stop_Telepathy_Event">
+      tp:name-for-bindings="Stop_Telephony_Event">
       <tp:docstring>
         Request that any ongoing telephony events (as defined by RFC 4733)
         being transmitted over this stream are stopped.
-- 
1.5.6.3




More information about the Telepathy-commits mailing list