~gordallott/unity/small-keynav-fix

« back to all changes in this revision

Viewing changes to src/DeviceLauncherIcon.cpp

  • Committer: Gord Allott
  • Date: 2011-03-07 16:08:47 UTC
  • mfrom: (918.4.1 unity)
  • Revision ID: gord.allott@canonical.com-20110307160847-t1umfhcntjs0dz8m
Merging in a branch for Артём Попов - fixes lp:730638 - busy devices now eject properly on the launcher

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
void
234
234
DeviceLauncherIcon::Eject ()
235
235
{
 
236
  GMountOperation *mount_op;
 
237
 
236
238
  g_debug ("%s", G_STRLOC);
 
239
  mount_op = gtk_mount_operation_new(NULL);
 
240
 
237
241
  g_volume_eject_with_operation (_volume,
238
242
                                 (GMountUnmountFlags)0,
239
 
                                 NULL,
 
243
                                 mount_op,
240
244
                                 NULL,
241
245
                                 (GAsyncReadyCallback)OnEjectReady,
242
246
                                 this);
 
247
 
 
248
  g_object_unref(mount_op);
243
249
  g_debug ("%s", G_STRLOC);
244
250
}
245
251