diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-06-30 12:14:49 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-07-04 13:55:53 -0500 |
commit | 760ff76408818a0b9ea183235e07da1562ca56fc (patch) | |
tree | 8f6991d925d8b33aa00626f0273f2cd16be3ce67 /xml/Image.xml | |
parent | ebba194e26dd5d303021d7cdf3f755b7ce014994 (diff) | |
download | at-spi2-core-760ff76408818a0b9ea183235e07da1562ca56fc.tar.gz |
XML: Remove the toplevel node name
https://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format
Per the DBus spec, "Only the root <node> element can omit the node
name, as it's known to be the object that was introspected."
When we have a DBus XML description:
<node>
<interface name="Foo">
</interface>
</node>
The toplevel <node> element does not need a `name` attribute.
While we are at it, reindent all the XML files properly.
Diffstat (limited to 'xml/Image.xml')
-rw-r--r-- | xml/Image.xml | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/xml/Image.xml b/xml/Image.xml index 1dd72f19..f1b26cd7 100644 --- a/xml/Image.xml +++ b/xml/Image.xml @@ -1,27 +1,27 @@ <?xml version="1.0" encoding="UTF-8"?> -<node name="/node"> -<interface name="org.a11y.atspi.Image"> +<node> + <interface name="org.a11y.atspi.Image"> - <property name="ImageDescription" type="s" access="read"/> + <property name="ImageDescription" type="s" access="read"/> - <property name="ImageLocale" type="s" access="read"/> + <property name="ImageLocale" type="s" access="read"/> - <method name="GetImageExtents"> - <arg direction="in" name="coordType" type="u"/> - <arg direction="out" type="(iiii)"/> - <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiRect"/> - </method> + <method name="GetImageExtents"> + <arg direction="in" name="coordType" type="u"/> + <arg direction="out" type="(iiii)"/> + <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiRect"/> + </method> - <method name="GetImagePosition"> - <arg direction="out" name="x" type="i"/> - <arg direction="out" name="y" type="i"/> - <arg direction="in" name="coordType" type="u"/> - </method> + <method name="GetImagePosition"> + <arg direction="out" name="x" type="i"/> + <arg direction="out" name="y" type="i"/> + <arg direction="in" name="coordType" type="u"/> + </method> - <method name="GetImageSize"> - <arg direction="out" name="width" type="i"/> - <arg direction="out" name="height" type="i"/> - </method> + <method name="GetImageSize"> + <arg direction="out" name="width" type="i"/> + <arg direction="out" name="height" type="i"/> + </method> -</interface> + </interface> </node> |