Merge lp://qastaging/~indicator-applet-developers/hud/callback-fix into lp://qastaging/hud/13.10
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Pete Woods | ||||||||||||
Approved revision: | 312 | ||||||||||||
Merged at revision: | 311 | ||||||||||||
Proposed branch: | lp://qastaging/~indicator-applet-developers/hud/callback-fix | ||||||||||||
Merge into: | lp://qastaging/hud/13.10 | ||||||||||||
Diff against target: |
285 lines (+117/-39) 4 files modified
src/abstract-app.h (+10/-6) src/application-list.c (+102/-28) src/application-source.c (+4/-4) src/dbusmenu-collector.c (+1/-1) |
||||||||||||
To merge this branch: | bzr merge lp://qastaging/~indicator-applet-developers/hud/callback-fix | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Pete Woods (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+181379@code.qastaging.launchpad.net |
Commit message
Fix Ubuntu UI Session callbacks.
On Touch Images where we use Ubuntu UI Session API to get
notifications when active window changes. The callbacks
are being invoked from a separate thread. We have to
pass the callbacks through g_idle_add() to process them
in main gmaincontext.
This also requires to change the type of AbstractWindow and
AbstractApp as we can't pass on the ubuntu_
accross different threads.
Description of the change
Fix Ubuntu UI Session callbacks.
On Touch Images where we use Ubuntu UI Session API to get
notifications when active window changes. The callbacks
are being invoked from a separate thread. We have to
pass the callbacks through g_idle_add() to process them
in main gmaincontext.
This also requires to change the type of AbstractWindow and
AbstractApp as we can't pass on the ubuntu_
accross different threads.
FAILED: Continuous integration, rev:311 jenkins. qa.ubuntu. com/job/ hud-ci/ 111/ jenkins. qa.ubuntu. com/job/ hud-saucy- amd64-ci/ 72/console jenkins. qa.ubuntu. com/job/ hud-saucy- armhf-ci/ 3 jenkins. qa.ubuntu. com/job/ hud-saucy- i386-ci/ 72/console
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ hud-ci/ 111/rebuild
http://