Merge lp://qastaging/~3v1n0/unity/device-launcher-section-c++ into lp://qastaging/unity

Proposed by Marco Trevisan (Treviño)
Status: Merged
Approved by: Andrea Azzarone
Approved revision: no longer in the source branch.
Merged at revision: 2334
Proposed branch: lp://qastaging/~3v1n0/unity/device-launcher-section-c++
Merge into: lp://qastaging/unity
Diff against target: 265 lines (+59/-99)
4 files modified
plugins/unityshell/src/DeviceLauncherIcon.cpp (+1/-1)
plugins/unityshell/src/DeviceLauncherIcon.h (+2/-2)
plugins/unityshell/src/DeviceLauncherSection.cpp (+48/-75)
plugins/unityshell/src/DeviceLauncherSection.h (+8/-21)
To merge this branch: bzr merge lp://qastaging/~3v1n0/unity/device-launcher-section-c++
Reviewer Review Type Date Requested Status
Andrea Azzarone (community) Approve
Review via email: mp+103349@code.qastaging.launchpad.net

Commit message

DeviceLauncherSection: updated to use glib::SignalManager and glib::Object

This allow to be more safe; it fixes also some crashes caused by the fact that DeviceLauncherIcon didn't own the GVolume* object. Now it uses glib::Object completely, so we can automagically ref/unref the volume when the icon is created/removed.

To post a comment you must log in.
Revision history for this message
Andrea Azzarone (azzar1) wrote :

LGTM.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.