~unity-team/unity/trunk

Viewing all changes in revision 2334.

  • Committer: Tarmac
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2012-04-24 21:32:35 UTC
  • mfrom: (2332.1.2 device-launcher-ref-count)
  • Revision ID: tarmac-20120424213235-i30rzer0pv6359uq
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.. Fixes: https://bugs.launchpad.net/bugs/918548, https://bugs.launchpad.net/bugs/977762. Approved by Andrea Azzarone.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: