summaryrefslogtreecommitdiff
path: root/src/main.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-04-05 17:14:32 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-04-05 17:14:32 +0200
commitb45d7a86484312692d5a7ac5bf98bc33fcd77f0d (patch)
tree5800d67b33fb02c1dd5b2054ce45b96d996b78a3 /src/main.vala
parentb4a00487d7666a3f142e613b3c094952bfb7f2ec (diff)
parent4c548cd33f0614e666d9049e41b4f129629cf182 (diff)
Update upstream source from tag 'upstream/0.30.15'
Update to upstream version '0.30.15' with Debian dir 5ed458d33231e16fd74c069c64aeb1e0285f4df7
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);