Merge lp:~thumper/unity/fix-865840 into lp:unity
Proposed by
Tim Penhey
Status: | Merged |
---|---|
Approved by: | Tim Penhey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1861 |
Proposed branch: | lp:~thumper/unity/fix-865840 |
Merge into: | lp:unity |
Diff against target: |
14 lines (+1/-3) 1 file modified
plugins/unityshell/src/BamfLauncherIcon.cpp (+1/-3) |
To merge this branch: | bzr merge lp:~thumper/unity/fix-865840 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marco Trevisan (Treviño) | Approve | ||
Sam Spilsbury (community) | Approve | ||
Review via email: mp+89812@code.launchpad.net |
Commit message
Don't assign null to a std::string
Description of the change
The bamf call could return null when a window doesn't have a name.
We should never assign null to a std::string.
Not sure how to best test this, as we can't reproduce the problem, and bamf doesn't yet have mocking or faking.
To post a comment you must log in.
Yep, that was something I planned to do too.
Nice.