[at-spi2-core: 20/30] Look for the "interface" elements, not "node" with "interface" children




commit fc9141e58893afd9101525df308c5d8fc5a067f1
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Jul 1 20:25:11 2022 -0500

    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.

 xml/generate-introspection.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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"])
 


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