Merge lp:~3v1n0/bamf/correctly-remove-cached-children into lp:bamf/0.4
Proposed by
Marco Trevisan (Treviño)
Status: | Merged |
---|---|
Approved by: | Marco Trevisan (Treviño) |
Approved revision: | 467 |
Merged at revision: | 432 |
Proposed branch: | lp:~3v1n0/bamf/correctly-remove-cached-children |
Merge into: | lp:bamf/0.4 |
Diff against target: |
259 lines (+57/-36) 5 files modified
lib/libbamf/Makefile.am (+1/-1) lib/libbamf/bamf-matcher.c (+3/-3) lib/libbamf/bamf-view.c (+52/-30) lib/libbamf/bamf-window.c (+1/-0) lib/libbamf/bamf-window.h (+0/-2) |
To merge this branch: | bzr merge lp:~3v1n0/bamf/correctly-remove-cached-children |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jason Smith (community) | Approve | ||
Review via email: mp+89489@code.launchpad.net |
Description of the change
Fixed bug #919366 that was caused by the fact that the list of the cached children were not correctly updated on children removal.
Reffing the objects on the list and manually looking for the removed one, does the work.
In the case we can't find the removed object, we just free the cached list, that will be eventually repopulated on next request.
To post a comment you must log in.
Good work dude, thanks a lot!