diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-07-01 20:25:11 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-07-04 13:56:07 -0500 |
commit | fc9141e58893afd9101525df308c5d8fc5a067f1 (patch) | |
tree | 23694b978f6399565c3f582031be75915ed40724 | |
parent | e6b2ed1812a45d3e7cbdc34c118914fc44138663 (diff) | |
download | at-spi2-core-fc9141e58893afd9101525df308c5d8fc5a067f1.tar.gz |
Look for the "interface" elements, not "node" with "interface" children
Now that there is no Accessibility.xml wrapper file that xincludes all
the others, we can deal directly with the <interface> elements. After
all we are just extracting the part we need for string concatenation later.
-rw-r--r-- | xml/generate-introspection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xml/generate-introspection.py b/xml/generate-introspection.py index 7c9389bf..3ba0b300 100644 --- a/xml/generate-introspection.py +++ b/xml/generate-introspection.py @@ -71,7 +71,7 @@ def generate_introspection (input_filename, c_output_filename, h_output_filename ccontents = "" hcontents = "" - for itf in root.findall ("node/interface"): + for itf in root.findall ("interface"): #Get and convert the name of the interface. name = convert_name (itf.attrib["name"]) |