Merge lp:~marcobiscaro2112/unity/fixes-737633 into lp:unity

Proposed by Marco Biscaro
Status: Merged
Merged at revision: 1033
Proposed branch: lp:~marcobiscaro2112/unity/fixes-737633
Merge into: lp:unity
Diff against target: 25 lines (+5/-2)
1 file modified
src/DeviceLauncherIcon.cpp (+5/-2)
To merge this branch: bzr merge lp:~marcobiscaro2112/unity/fixes-737633
Reviewer Review Type Date Requested Status
Didier Roche-Tolomelli Approve
Review via email: mp+54709@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Approved! Nicely done Marco :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/DeviceLauncherIcon.cpp'
2--- src/DeviceLauncherIcon.cpp 2011-03-17 13:46:25 +0000
3+++ src/DeviceLauncherIcon.cpp 2011-03-24 14:42:31 +0000
4@@ -297,16 +297,19 @@
5 void
6 DeviceLauncherIcon::StopDrive ()
7 {
8- GDrive *drive;
9+ GDrive *drive;
10+ GMountOperation *mount_op;
11
12 drive = g_volume_get_drive (_volume);
13+ mount_op = gtk_mount_operation_new (NULL);
14 g_drive_stop (drive,
15 (GMountUnmountFlags)0,
16- NULL,
17+ mount_op,
18 NULL,
19 (GAsyncReadyCallback)OnStopDriveReady,
20 this);
21 g_object_unref (drive);
22+ g_object_unref (mount_op);
23 }
24
25 void