[Xfce4-commits] <thunar:master> Do not call eject in thunar_device_volume_mount_finished.

Nick Schermer noreply at xfce.org
Mon Oct 22 20:48:01 CEST 2012


Updating branch refs/heads/master
         to 7fe78dee5a0b1a279a5a44efc15ad9bf0dd7af5a (commit)
       from 5a0fd479b4a6e87ff9dea1597386ba935bf2aa6d (commit)

commit 7fe78dee5a0b1a279a5a44efc15ad9bf0dd7af5a
Author: Harald Judt <h.judt at gmx.at>
Date:   Mon Oct 22 20:46:35 2012 +0200

    Do not call eject in thunar_device_volume_mount_finished.
    
    Fix copy & paste error.

 thunar/thunar-device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/thunar/thunar-device.c b/thunar/thunar-device.c
index 2697fa8..c0f6bbf 100644
--- a/thunar/thunar-device.c
+++ b/thunar/thunar-device.c
@@ -340,7 +340,7 @@ thunar_device_volume_mount_finished (GObject      *object,
   _thunar_return_if_fail (G_IS_ASYNC_RESULT (result));
 
   /* finish the eject */
-  if (!g_volume_eject_with_operation_finish (G_VOLUME (object), result, &error))
+  if (!g_volume_mount_finish (G_VOLUME (object), result, &error))
     {
       /* unset the error if a helper program has already interacted with the user */
       if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_FAILED_HANDLED)


More information about the Xfce4-commits mailing list