[folks] Include GIR version number in folks.vapi
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Include GIR version number in folks.vapi
- Date: Mon, 24 Jun 2013 16:14:28 +0000 (UTC)
commit 22a3a490ad5af2a2615cce5a1b64acf7a1a9c749
Author: Travis Reitter <travis reitter collabora co uk>
Date: Fri Jun 14 10:51:51 2013 -0700
Include GIR version number in folks.vapi
The fact that this was missing was causing build warnings for all clients
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=698890
NEWS | 1 +
folks/Makefile.am | 1 +
folks/folks-namespace.vala | 29 +++++++++++++++++++++++++++++
3 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 711d58c..7dc5ed6 100644
--- 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:
diff --git a/folks/Makefile.am b/folks/Makefile.am
index fe12f10..9ba7fab 100644
--- a/folks/Makefile.am
+++ b/folks/Makefile.am
@@ -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
index 0000000..00b271f
--- /dev/null
+++ b/folks/folks-namespace.vala
@@ -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
+{
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]