Merge lp:~agateau/unity-2d/dont-disconnect-from-dead-windows into lp:unity-2d/3.0
Proposed by
Aurélien Gâteau
Status: | Merged |
---|---|
Approved by: | Florian Boucault |
Approved revision: | 624 |
Merged at revision: | 631 |
Proposed branch: | lp:~agateau/unity-2d/dont-disconnect-from-dead-windows |
Merge into: | lp:unity-2d/3.0 |
Diff against target: |
328 lines (+252/-4) 6 files modified
libunity-2d-private/src/CMakeLists.txt (+1/-0) libunity-2d-private/src/gconnector.cpp (+81/-0) libunity-2d-private/src/gconnector.h (+67/-0) libunity-2d-private/tests/CMakeLists.txt (+2/-0) libunity-2d-private/tests/gconnectortest.cpp (+96/-0) panel/applets/appname/windowhelper.cpp (+5/-4) |
To merge this branch: | bzr merge lp:~agateau/unity-2d/dont-disconnect-from-dead-windows |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Florian Boucault (community) | Approve | ||
Review via email: mp+67701@code.launchpad.net |
Commit message
[libunity-2d] Introduce GConnector, a class to track connections to GObject signals.
Use GConnector in WindowHelper, avoiding some GLib critical messages when the active window is closed. Those messages were caused by us trying to disconnect from a dead wnck window handle.
Description of the change
This branch has been extracted from the unity-core branch. It does two things:
- Introduces GConnector, a class to track connections to GObject signals.
- Uses GConnector in WindowHelper, avoiding some GLib critical messages when the active window is closed. Those messages were caused by us trying to disconnect from a dead wnck window handle.
To post a comment you must log in.
Works as advertised, code is clean. Thank you.