diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-04-05 17:15:25 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-04-05 17:15:25 +0200 |
commit | ccee2cdbe8485ce8742f0dd99d3cfa642ff70a48 (patch) | |
tree | 5800d67b33fb02c1dd5b2054ce45b96d996b78a3 /src/main.vala | |
parent | b4a00487d7666a3f142e613b3c094952bfb7f2ec (diff) | |
parent | b45d7a86484312692d5a7ac5bf98bc33fcd77f0d (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/main.vala')
-rw-r--r-- | src/main.vala | 4 |
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); |