[gxml] Added CCode annotations to create GIR files correctly that depends on this library.



commit 8cc28d98c0d91f29315c6df4af03c1bb305eb42a
Author: Daniel Espinosa Ortiz <despinosa git gnome org>
Date:   Tue Dec 20 16:15:17 2011 -0600

    Added CCode annotations to create GIR files correctly that depends on this library.
    
    * The first file passed to valac must have CCode annotations to declare gir namespace and gir version. If this is not set when you create GIR files valac doesn't add dependencies <include> correctly.

 gxml/Attr.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gxml/Attr.vala b/gxml/Attr.vala
index 1ac7d9e..6a3b4b7 100644
--- a/gxml/Attr.vala
+++ b/gxml/Attr.vala
@@ -12,6 +12,7 @@
 /* NOTE: figure out how entity references work with Attrs */
 /* NOTE: value as children nodes: can contain Text and EntityReferences */
 
+[CCode (gir_namespace = "GXmlDom", gir_version = "0.2")]
 namespace GXmlDom {
 	/**
 	 * Represents an XML Attr node. These represent name=value



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