[gvfs] udisks2: don't call g_simple_async_result_take_error() twice



commit 253d78c25af2f527015834ab5edb1780028998c2
Author: David Zeuthen <davidz redhat com>
Date:   Tue May 8 13:55:51 2012 -0400

    udisks2: don't call g_simple_async_result_take_error() twice
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 monitor/udisks2/gvfsudisks2mount.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/monitor/udisks2/gvfsudisks2mount.c b/monitor/udisks2/gvfsudisks2mount.c
index 61f58a1..5037d73 100644
--- a/monitor/udisks2/gvfsudisks2mount.c
+++ b/monitor/udisks2/gvfsudisks2mount.c
@@ -830,7 +830,6 @@ umount_command_cb (GObject       *source_object,
                                         &error))
     {
       g_simple_async_result_take_error (data->simple, error);
-      g_simple_async_result_take_error (data->simple, error);
       g_simple_async_result_complete (data->simple);
       data->completed = TRUE;
       unmount_data_unref (data);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]