[gobject-introspection/gir-schema-fix] docs: Fix the "final" attribute in the GIR schema




commit 27cb3d43b91ccfbb3ac1c251182d0b0ba7e1f4e5
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Aug 5 18:03:01 2021 +0100

    docs: Fix the "final" attribute in the GIR schema
    
    The "final" attribute is not namespaced. Like "abstract", the "final"
    flag is shared across type systems, it's not strongly related to GObject
    types.

 docs/gir-1.2.rnc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/docs/gir-1.2.rnc b/docs/gir-1.2.rnc
index 6a39b20f..ca2dd729 100644
--- a/docs/gir-1.2.rnc
+++ b/docs/gir-1.2.rnc
@@ -171,7 +171,7 @@ grammar {
       ## Binary attribute to declare the class fundamental or not (top-level class which do not derives from 
any other type)
       attribute glib:fundamental { "0" | "1" }?,
       ## Binary attribute to declare the class final or not (non-derivable class in a derivable hierarchy)
-      attribute glib:final { "0" | "1" }?,
+      attribute final { "0" | "1" }?,
 
       # Other elements a class can contain
       (Info.elements


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