Merge lp:~gordallott/unity/fixes-18-04-11 into lp:unity

Proposed by Gord Allott
Status: Merged
Merged at revision: 1149
Proposed branch: lp:~gordallott/unity/fixes-18-04-11
Merge into: lp:unity
Diff against target: 27 lines (+6/-0)
2 files modified
src/LauncherIcon.cpp (+3/-0)
src/PlacesView.cpp (+3/-0)
To merge this branch: bzr merge lp:~gordallott/unity/fixes-18-04-11
Reviewer Review Type Date Requested Status
Didier Roche-Tolomelli Approve
Review via email: mp+58169@code.launchpad.net

Description of the change

fixes linked bugs

To post a comment you must log in.
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Approved!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/LauncherIcon.cpp'
--- src/LauncherIcon.cpp 2011-04-14 14:29:40 +0000
+++ src/LauncherIcon.cpp 2011-04-18 17:37:35 +0000
@@ -138,6 +138,9 @@
138 _superkey_label->UnReference ();138 _superkey_label->UnReference ();
139139
140 // clean up the whole signal-callback mess140 // clean up the whole signal-callback mess
141 if (needs_redraw_connection.connected ())
142 needs_redraw_connection.disconnect ();
143
141 if (on_icon_added_connection.connected ())144 if (on_icon_added_connection.connected ())
142 on_icon_added_connection.disconnect ();145 on_icon_added_connection.disconnect ();
143146
144147
=== modified file 'src/PlacesView.cpp'
--- src/PlacesView.cpp 2011-04-15 09:49:41 +0000
+++ src/PlacesView.cpp 2011-04-18 17:37:35 +0000
@@ -147,6 +147,9 @@
147PlacesView::~PlacesView ()147PlacesView::~PlacesView ()
148{148{
149 UBusServer* ubus = ubus_server_get_default ();149 UBusServer* ubus = ubus_server_get_default ();
150 if (_home_button_hover > 0)
151 ubus_server_unregister_interest (ubus, _home_button_hover);
152
150 for (unsigned int i = 0; i < G_N_ELEMENTS (_ubus_handles); i++)153 for (unsigned int i = 0; i < G_N_ELEMENTS (_ubus_handles); i++)
151 {154 {
152 if (_ubus_handles[i] != 0)155 if (_ubus_handles[i] != 0)