[gtk+/composite-templates] Updated to new external-object/template syntaxt



commit 6b141bff771df967a4322dae703d29e9db1e5a7b
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Mon Dec 10 11:38:49 2012 -0300

    Updated to new external-object/template syntaxt

 gtk/gtkbuilder.rnc |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkbuilder.rnc b/gtk/gtkbuilder.rnc
index bb8bfff..c5b6407 100644
--- a/gtk/gtkbuilder.rnc
+++ b/gtk/gtkbuilder.rnc
@@ -1,6 +1,6 @@
 start = element interface {
   attribute domain { text } ?,
-  ( requires | object | template | menu ) *
+  ( requires | object | external-object | template | menu ) *
 }
 
 requires = element requires {
@@ -16,10 +16,16 @@ object = element object {
   (property | signal | child | ANY) *
 }
 
+object = element external-object {
+  attribute id { xsd:ID },
+  attribute class { text },
+  (property | signal | child | ANY) *
+}
+
 object = element template {
   attribute id { xsd:ID },
   attribute class { text },
-  attribute parent { text } ?,
+  attribute parent { text },
   (property | signal | child | ANY) *
 }
 



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