[libhandy] glade: Correctly define init-function as an element
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy] glade: Correctly define init-function as an element
- Date: Wed, 24 Jun 2020 15:02:53 +0000 (UTC)
commit b6a3a7cabdf4a07d82efc5c8c3abde6e16da928e
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sat Jun 20 10:24:31 2020 +0200
glade: Correctly define init-function as an element
This is needed to correctly call the init function for a catalog.
glade/glade-catalog.dtd | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/glade/glade-catalog.dtd b/glade/glade-catalog.dtd
index 027962f1..c0d073e5 100644
--- a/glade/glade-catalog.dtd
+++ b/glade/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+)>
@@ -192,3 +192,5 @@
name CDATA #REQUIRED
stock CDATA #IMPLIED
important CDATA #IMPLIED>
+
+<!ELEMENT init-function (#PCDATA)>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]