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




commit 64ae0bfdcb922bdb7bd0edf1db5967253a74a424
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 4244532e..64443f7e 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]