[libnotify] More D-Bus type clarifications



commit bd385da02adabb146b82e21e7d9770cc5aa842eb
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Sep 5 08:55:08 2011 -0400

    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

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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]