diff options
author | Yen-Chin, Lee <coldnew.tw@gmail.com> | 2023-03-02 15:31:28 +0800 |
---|---|---|
committer | Yen-Chin, Lee <coldnew.tw@gmail.com> | 2023-03-02 15:31:28 +0800 |
commit | e80f4cbf78b17ed54f1066ba3bf810e3054ea34b (patch) | |
tree | e258d7952cb5951a708330f6dab390576bd97605 | |
parent | ad401d5e14551e4feda5bb3d7ccc8784e8e04121 (diff) | |
download | dbus-e80f4cbf78b17ed54f1066ba3bf810e3054ea34b.tar.gz |
doc/dbus-api-design: fix wrong closing tag
The original code of 'ProgressNotification' had a wrong closing tag,
which should use '</signal>' instead of '</method>'
Signed-off-by: Yen-Chin, Lee <coldnew.tw@gmail.com>
-rw-r--r-- | doc/dbus-api-design.duck | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/dbus-api-design.duck b/doc/dbus-api-design.duck index 014e4a3c..c8db6427 100644 --- a/doc/dbus-api-design.duck +++ b/doc/dbus-api-design.duck @@ -320,7 +320,7 @@ passing nothing. --> <signal name="ProgressNotification"> <arg name="progress_message" type="s" /> - </method> + </signal> The progress should be reported as an enumerated value: [code style="valid" mime="application/xml"] @@ -335,7 +335,7 @@ passing nothing. --> <signal name="ProgressNotification"> <arg name="progress_state" type="u" /> - </method> + </signal> D-Bus has none of the problems of signed versus unsigned integers which C has (specifically, it does not do implicit sign conversion), so integer types should |