More D-Bus type clarifications

Only use conventional names where they uniquely identify
the wire type, and type signatures elsewhere. This replaces
DICT by a{sv}
ARRAY by as
STRING_ARRAY by as
This commit is contained in:
Matthias Clasen 2011-09-05 08:55:08 -04:00
parent 3a60c433fd
commit bd385da02a
1 changed files with 5 additions and 5 deletions

View File

@ -831,7 +831,7 @@
<title><literal>org.freedesktop.Notifications.GetCapabilities</literal></title> <title><literal>org.freedesktop.Notifications.GetCapabilities</literal></title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
<funcdef>STRING_ARRAY <funcdef>as
<function>org.freedesktop.Notifications.GetCapabilities</function> <function>org.freedesktop.Notifications.GetCapabilities</function>
</funcdef> </funcdef>
<void/> <void/>
@ -954,8 +954,8 @@
<paramdef>STRING <parameter>app_icon</parameter></paramdef> <paramdef>STRING <parameter>app_icon</parameter></paramdef>
<paramdef>STRING <parameter>summary</parameter></paramdef> <paramdef>STRING <parameter>summary</parameter></paramdef>
<paramdef>STRING <parameter>body</parameter></paramdef> <paramdef>STRING <parameter>body</parameter></paramdef>
<paramdef>ARRAY <parameter>actions</parameter></paramdef> <paramdef>as <parameter>actions</parameter></paramdef>
<paramdef>DICT <parameter>hints</parameter></paramdef> <paramdef>a{sv} <parameter>hints</parameter></paramdef>
<paramdef>INT32 <parameter>expire_timeout</parameter></paramdef> <paramdef>INT32 <parameter>expire_timeout</parameter></paramdef>
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
@ -1013,7 +1013,7 @@
</row> </row>
<row> <row>
<entry><parameter>actions</parameter></entry> <entry><parameter>actions</parameter></entry>
<entry>ARRAY</entry> <entry>as</entry>
<entry> <entry>
Actions are sent over as a list of pairs. Each even element in Actions are sent over as a list of pairs. Each even element in
the list (starting at index 0) represents the identifier for the the list (starting at index 0) represents the identifier for the
@ -1023,7 +1023,7 @@
</row> </row>
<row> <row>
<entry><parameter>hints</parameter></entry> <entry><parameter>hints</parameter></entry>
<entry>DICT</entry> <entry>a{sv}</entry>
<entry> <entry>
Optional hints that can be passed to the server from the client Optional hints that can be passed to the server from the client
program. Although clients and servers should never assume each other program. Although clients and servers should never assume each other