Merge lp:~macslow/unity/unity-4.0.fix-832151 into lp:unity/4.0

Proposed by Mirco Müller
Status: Merged
Approved by: Gord Allott
Approved revision: no longer in the source branch.
Merged at revision: 1718
Proposed branch: lp:~macslow/unity/unity-4.0.fix-832151
Merge into: lp:unity/4.0
Diff against target: 10 lines (+1/-0)
1 file modified
plugins/unityshell/src/PanelTray.cpp (+1/-0)
To merge this branch: bzr merge lp:~macslow/unity/unity-4.0.fix-832151
Reviewer Review Type Date Requested Status
Gord Allott (community) Approve
Review via email: mp+80474@code.launchpad.net

Description of the change

Be properly unref'ing _tray the FilterTrayCallback should be correctly unregistered and not called again. Fixes LP: 832151

To post a comment you must log in.
Revision history for this message
Gord Allott (gordallott) wrote :

On 26/10/11 12:23, Mirco Müller wrote:
> Mirco Müller has proposed merging lp:~macslow/unity/unity-4.0.fix-832151 into lp:unity/4.0.
>
> Requested reviews:
> Unity Team (unity-team)
> Related bugs:
> Bug #832151 in unity: "compiz crashed with SIGSEGV in g_strcmp0()"
> https://bugs.launchpad.net/unity/+bug/832151
>
> For more details, see:
> https://code.launchpad.net/~macslow/unity/unity-4.0.fix-832151/+merge/80474
>
> Be properly unref'ing _tray the FilterTrayCallback should be correctly unregistered and not called again. Fixes LP: 832151

looks good,

 +1
 merge approved

--
Gordon Allott
Canonical Ltd.
27 Floor, Millbank Tower
London SW1P 4QP
www.canonical.com

review: Approve
Revision history for this message
Tim Penhey (thumper) wrote :

Can you get this one merged?

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/unityshell/src/PanelTray.cpp'
2--- plugins/unityshell/src/PanelTray.cpp 2011-09-08 11:53:46 +0000
3+++ plugins/unityshell/src/PanelTray.cpp 2011-10-26 16:22:23 +0000
4@@ -95,6 +95,7 @@
5 if (_tray)
6 {
7 g_signal_handler_disconnect(na_tray_get_manager(_tray), _tray_icon_added_id);
8+ g_object_unref(_tray);
9 _tray = NULL;
10 }
11

Subscribers

People subscribed via source and target branches

to all changes: