summaryrefslogtreecommitdiff
path: root/src/main.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-04-05 17:14:18 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-04-05 17:14:18 +0200
commit4c548cd33f0614e666d9049e41b4f129629cf182 (patch)
treebaa900ff37979f45c28841af16b79aa7f2a69a3b /src/main.vala
parent2ed34746222ea505631ae8ef8ca50552af999ad2 (diff)
New upstream version 0.30.15upstream/0.30.15
Diffstat (limited to 'src/main.vala')
-rw-r--r--src/main.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.vala b/src/main.vala
index 8313ba1..a971f15 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -383,7 +383,7 @@ void main(string[] args) {
}
if (CommandlineOptions.show_version) {
- if (Resources.GIT_VERSION != null)
+ if (Resources.GIT_VERSION != "")
print("%s %s (%s)\n", Resources.APP_TITLE, Resources.APP_VERSION, Resources.GIT_VERSION);
else
print("%s %s\n", Resources.APP_TITLE, Resources.APP_VERSION);
@@ -415,7 +415,7 @@ void main(string[] args) {
Debug.init(is_string_empty(filename) ? Debug.LIBRARY_PREFIX : Debug.VIEWER_PREFIX);
- if (Resources.GIT_VERSION != null)
+ if (Resources.GIT_VERSION != "")
message("Shotwell %s %s (%s)",
is_string_empty(filename) ? Resources.APP_LIBRARY_ROLE : Resources.APP_DIRECT_ROLE,
Resources.APP_VERSION, Resources.GIT_VERSION);