Merge lp:~3v1n0/libunity/fix-snap-name-typo into lp:libunity

Proposed by Marco Trevisan (Treviño)
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 329
Merged at revision: 329
Proposed branch: lp:~3v1n0/libunity/fix-snap-name-typo
Merge into: lp:libunity
Diff against target: 12 lines (+1/-1)
1 file modified
src/unity-launcher.vala (+1/-1)
To merge this branch: bzr merge lp:~3v1n0/libunity/fix-snap-name-typo
Reviewer Review Type Date Requested Status
Sebastien Bacher Approve
Review via email: mp+337453@code.launchpad.net

Commit message

launcher: fix a typo, don't double-check for same var validity

Thanks seb

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

that's better indeed :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/unity-launcher.vala'
2--- src/unity-launcher.vala 2018-02-07 03:47:30 +0000
3+++ src/unity-launcher.vala 2018-02-09 14:33:13 +0000
4@@ -184,7 +184,7 @@
5 unowned string snap_path = Environment.get_variable ("SNAP");
6 unowned string snap_name = Environment.get_variable ("SNAP_NAME");
7
8- if (snap_path != null && snap_path != null)
9+ if (snap_path != null && snap_name != null)
10 {
11 debug (@"App is running into a snap container ($snap_name)");
12 string app = app_uri.substring (APP_PREFIX.length);

Subscribers

People subscribed via source and target branches