[glade] dtd: Make init-function an element, not an attribute



commit 337a760144e9892b1c9d5dd7e8fc14eac1a93c8c
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sat Jun 20 10:18:35 2020 +0200

    dtd: Make init-function an element, not an attribute
    
    This makes the implementation of init-function in the DTD match both the
    code (it is read as an element) and the documentation (it is documented
    as an element).

 plugins/glade-catalog.dtd | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/plugins/glade-catalog.dtd b/plugins/glade-catalog.dtd
index 2d6b6e0a..979d0b98 100644
--- a/plugins/glade-catalog.dtd
+++ b/plugins/glade-catalog.dtd
@@ -1,4 +1,5 @@
-<!ELEMENT glade-catalog (glade-widget-classes?, 
+<!ELEMENT glade-catalog (init-function?,
+                         glade-widget-classes?,
                         glade-widget-group*)>
 
 <!ATTLIST glade-catalog name     CDATA #REQUIRED
@@ -9,7 +10,6 @@
                         domain   CDATA #IMPLIED
                         book     CDATA #IMPLIED
                         icon-prefix CDATA #IMPLIED
-                        init-function CDATA #IMPLIED
                        requires CDATA #IMPLIED>
 
 <!ELEMENT glade-widget-classes (glade-widget-class+)>
@@ -149,3 +149,5 @@
 <!ATTLIST child-property id      CDATA #REQUIRED
                          default CDATA #REQUIRED>
 
+<!ELEMENT init-function (#PCDATA)>
+


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