[folks] Set the GIR namespace and version for folks-generics



commit 9c61256d5f92950d7c8a96a7c17ef5a8bd911006
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Tue Aug 27 10:07:14 2013 -0700

    Set the GIR namespace and version for folks-generics
    
    This ends up avoiding a valadoc crasher (bgo#706857) which the maintainers
    can't reproduce.  Strictly speaking, we should have it in place anyhow, so
    it should be pretty safe.
    
    It also ends up passing these details along to folks-internal.vapi when it's
    generated as well.

 NEWS                      |    1 +
 folks/folks-generics.vapi |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 0cc5681..ff51a9a 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@ Major changes:
 Bugs fixed:
 • Bug 706683 — fails to build with Vala 0.20
 • Bug 706826 — build fails due to missing IT_PROG_INTLTOOL macro
+• Made docs buildable again (work around bgo#706857)
 
 API changes:
 
diff --git a/folks/folks-generics.vapi b/folks/folks-generics.vapi
index 867257f..0f55c98 100644
--- a/folks/folks-generics.vapi
+++ b/folks/folks-generics.vapi
@@ -26,6 +26,7 @@
  * GIR to Vala loses the generic types. FIXME: GNOME #639908 would
  * make it possible to go via GIR like tests/lib/telepathy/contactlist does. */
 
+[CCode (gir_namespace = "Folks", gir_version = "0.6")]
 namespace Folks
 {
   [CCode (cheader_filename = "folks/small-set.h")]


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