aboutsummaryrefslogtreecommitdiff
path: root/libdino/src
diff options
context:
space:
mode:
Diffstat (limited to 'libdino/src')
-rw-r--r--libdino/src/application.vala1
-rw-r--r--libdino/src/version.vala6
2 files changed, 6 insertions, 1 deletions
diff --git a/libdino/src/application.vala b/libdino/src/application.vala
index 490cd40c..5e58e364 100644
--- a/libdino/src/application.vala
+++ b/libdino/src/application.vala
@@ -2,7 +2,6 @@ using Dino.Entities;
namespace Dino {
-extern const string VERSION;
public string get_version() { return VERSION; }
public string get_short_version() {
if (!VERSION.contains("~")) return VERSION;
diff --git a/libdino/src/version.vala b/libdino/src/version.vala
new file mode 100644
index 00000000..0fdc0145
--- /dev/null
+++ b/libdino/src/version.vala
@@ -0,0 +1,6 @@
+// Not used in Meson.
+namespace Dino {
+
+extern const string VERSION;
+
+}