diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-04-08 07:34:01 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-04-08 07:34:01 +0200 |
commit | 7f1715fe162576bee2b1e56659a212a3fc9615ea (patch) | |
tree | d3c1ee5c4c4312d0b89ff3970ea3dfcc206c94de /src/main.vala | |
parent | f017d0e96d22cf8b70ec67cdaf818e62d8902b67 (diff) | |
parent | 88c49a94de01741646db2315e55ecea1c57bddb7 (diff) |
Merge branch 'release/debian/0.30.15-1'debian/0.30.15-1
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); |