Merge lp:~attente/unity-gtk-module/1198471 into lp:unity-gtk-module/14.04
Status: | Merged |
---|---|
Approved by: | Lars Karlitski |
Approved revision: | 311 |
Merged at revision: | 312 |
Proposed branch: | lp:~attente/unity-gtk-module/1198471 |
Merge into: | lp:unity-gtk-module/14.04 |
Diff against target: |
45 lines (+5/-5) 2 files modified
lib/unity-gtk-action-group.c (+2/-2) src/main.c (+3/-3) |
To merge this branch: | bzr merge lp:~attente/unity-gtk-module/1198471 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lars Karlitski (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+196941@code.launchpad.net |
Commit message
Relax the preconditions for disconnecting action groups from shells. (LP: #1198471)
If we have this situation:
Menu A (action group G)
Menu B (action group G)
Menu C (action group G) <- about to be destroyed
Menu D (action group G)
Menu E (action group G)
and Menu C is destroyed, we get:
Menu A (action group G)
Menu B (action group G)
Menu C (no action group)
Menu D (no action group)
Menu E (no action group)
So when Menu A is disconnected from G, this causes the warnings from LP: #1198471.
One thing we could have tried was just removing the tree rooted at Menu C, but then that would break removing the entire tree rooted at Menu A. Also, we'd have to end up doing this by having the Menu C unref itself.
It's really easiest to treat it as a dead sub-tree that will be finalized when the entire tree is finalized. Let's relax the preconditions on the unity_gtk_
Description of the change
Relax the preconditions for disconnecting action groups from shells. (LP: #1198471)
If we have this situation:
Menu A (action group G)
Menu B (action group G)
Menu C (action group G) <- about to be destroyed
Menu D (action group G)
Menu E (action group G)
and Menu C is destroyed, we get:
Menu A (action group G)
Menu B (action group G)
Menu C (no action group)
Menu D (no action group)
Menu E (no action group)
So when Menu A is disconnected from G, this causes the warnings from LP: #1198471.
One thing we could have tried was just removing the tree rooted at Menu C, but then that would break removing the entire tree rooted at Menu A. Also, we'd have to end up doing this by having the Menu C unref itself.
It's really easiest to treat it as a dead sub-tree that will be finalized when the entire tree is finalized. Let's relax the preconditions on the unity_gtk_
PASSED: Continuous integration, rev:311 jenkins. qa.ubuntu. com/job/ unity-gtk- module- ci/19/ jenkins. qa.ubuntu. com/job/ unity-gtk- module- trusty- amd64-ci/ 5 jenkins. qa.ubuntu. com/job/ unity-gtk- module- trusty- armhf-ci/ 5 jenkins. qa.ubuntu. com/job/ unity-gtk- module- trusty- armhf-ci/ 5/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity- gtk-module- ci/19/rebuild
http://