Include GIR version number in folks.vapi
authorTravis Reitter <travis.reitter@collabora.co.uk>
Fri, 14 Jun 2013 17:51:51 +0000 (10:51 -0700)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Mon, 24 Jun 2013 15:53:41 +0000 (08:53 -0700)
The fact that this was missing was causing build warnings for all clients

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=698890

NEWS
folks/Makefile.am
folks/folks-namespace.vala [new file with mode: 0644]

diff --git a/NEWS b/NEWS
index 711d58c..7dc5ed6 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ Major changes:
 Bugs fixed:
 • Bug 683873 - Leak in Zeitgeist code
 • Bug 686715 - Telepathy init test often fails during clean-up
+• Bug 698890 - warning: Folks doesn't set GIR namespace or version annotation
 
 API changes:
 
index fe12f10..9ba7fab 100644 (file)
@@ -72,6 +72,7 @@ libfolks_la_SOURCES = \
        birthday-details.vala \
        email-details.vala \
        favourite-details.vala \
+       folks-namespace.vala \
        gender-details.vala \
        group-details.vala \
        web-service-details.vala \
diff --git a/folks/folks-namespace.vala b/folks/folks-namespace.vala
new file mode 100644 (file)
index 0000000..00b271f
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2013 Collabora Ltd.
+ *
+ * This library is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 2.1 of the License, or
+ * (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ *       Travis Reitter <travis.reitter@collabora.co.uk>
+ */
+
+/*
+ * This file serves as the representation for the Folks namespace itself (mostly
+ * so that we can set its namespace and version attributes for GIR)
+ */
+
+[CCode (gir_namespace = "Folks", gir_version = "0.6")]
+namespace Folks
+{
+}