[Telepathy-commits] [telepathy-gabble/master] Copy unnamed arg names from real telepathy-spec

Davyd Madeley davyd at madeley.id.au
Thu Feb 26 19:13:34 PST 2009


New parser enforces named args (which seems consistent with the real spec)
---
 .../Connection_Interface_Contact_Capabilities.xml  |    2 +-
 extensions/Connection_Interface_Presence.xml       |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/extensions/Connection_Interface_Contact_Capabilities.xml b/extensions/Connection_Interface_Contact_Capabilities.xml
index 13efba6..e06ab01 100644
--- a/extensions/Connection_Interface_Contact_Capabilities.xml
+++ b/extensions/Connection_Interface_Contact_Capabilities.xml
@@ -99,7 +99,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
            See http://bugs.freedesktop.org/show_bug.cgi?id=17329
            Now there is a fix, so we don't use the workaround anymore.
         -->
-      <arg direction="out" type="a{ua(a{sv}as)}"
+      <arg direction="out" type="a{ua(a{sv}as)}" name="Contact_Capabilities"
            tp:type="Contact_Capabilities_Map">
         <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
           An array of structures containing:
diff --git a/extensions/Connection_Interface_Presence.xml b/extensions/Connection_Interface_Presence.xml
index 8ec9a76..9b45ba7 100644
--- a/extensions/Connection_Interface_Presence.xml
+++ b/extensions/Connection_Interface_Presence.xml
@@ -127,7 +127,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
       </tp:possible-errors>
     </method>
     <method name="GetStatuses" tp:name-for-bindings="Get_Statuses">
-      <arg direction="out" type="a{s(ubba{ss})}" tp:type="Status_Spec_Map">
+      <arg direction="out" type="a{s(ubba{ss})}" tp:type="Status_Spec_Map"
+           name="Available_Statuses">
         <tp:docstring>
         A dictionary of string identifiers mapped to a struct for each status, containing:
         <ul>
-- 
1.5.6.5



More information about the telepathy-commits mailing list