summaryrefslogtreecommitdiff
path: root/src/faces/Faces.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/faces/Faces.vala')
-rw-r--r--src/faces/Faces.vala37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/faces/Faces.vala b/src/faces/Faces.vala
new file mode 100644
index 0000000..3f0623a
--- /dev/null
+++ b/src/faces/Faces.vala
@@ -0,0 +1,37 @@
+/* Copyright 2016 Software Freedom Conservancy Inc.
+ *
+ * This software is licensed under the GNU Lesser General Public License
+ * (version 2.1 or later). See the COPYING file in this distribution.
+ */
+
+#if ENABLE_FACES
+
+namespace Faces {
+
+public void init() throws Error {
+ Faces.SidebarEntry.init();
+}
+
+public void terminate() {
+ Faces.SidebarEntry.terminate();
+}
+
+}
+
+#else
+
+namespace Faces {
+
+public void init() throws Error {
+ // do nothing; this method is here only
+ // to make the unitizing mechanism happy
+}
+
+public void terminate() {
+ // do nothing; this method is here only
+ // to make the unitizing mechanism happy
+}
+
+}
+
+#endif