Merge lp:~unity-team/compiz/work-around-glibmm-bug-561885 into lp:~unity-team/compiz/trunk
Proposed by
Loïc Molinari
Status: | Merged |
---|---|
Merged at revision: | 2742 |
Proposed branch: | lp:~unity-team/compiz/work-around-glibmm-bug-561885 |
Merge into: | lp:~unity-team/compiz/trunk |
Diff against target: | 0 lines |
To merge this branch: | bzr merge lp:~unity-team/compiz/work-around-glibmm-bug-561885 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sam Spilsbury (community) | Approve | ||
Review via email: mp+56977@code.launchpad.net |
Description of the change
That branch is work around for Glibmm bug https:/
By not requesting to destroy the event source after stopping the mainloop in the event source callback, it avoids a crash in PrivateScreen:
To post a comment you must log in.
Looks good - its a shame that there's no refguard here in glibmm when the underly GSource gets destroyed because the we returned false in the callback function, but its fine to keep it around since it goes away explicitly on the destructor.