Merge lp:~thumper/unity/fix-865840 into lp:unity
Proposed by
Tim Penhey
on 2012-01-24
| Status: | Merged |
|---|---|
| Approved by: | Tim Penhey on 2012-01-25 |
| Approved revision: | 1859 |
| 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 on 2012-01-24 | ||
| Sam Spilsbury (community) | 2012-01-24 | Approve on 2012-01-24 | |
|
Review via email:
|
|||
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.
review:
Approve
| Unity Merger (unity-merger) wrote : | # |
The Jenkins job https:/
Not merging it.


Yep, that was something I planned to do too.
Nice.