[nautilus] undo: always complete the apply action in idle



commit bf38d260d1011c08f5e36f3d7d78e10244627e16
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Jan 21 17:45:49 2012 -0500

    undo: always complete the apply action in idle
    
    The action might be synchronous.

 .../nautilus-file-undo-operations.c                |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file-undo-operations.c b/libnautilus-private/nautilus-file-undo-operations.c
index 79384bf..4b8fa1f 100644
--- a/libnautilus-private/nautilus-file-undo-operations.c
+++ b/libnautilus-private/nautilus-file-undo-operations.c
@@ -343,7 +343,7 @@ file_undo_info_complete_apply (NautilusFileUndoInfo *self,
 	op_res.success = success;
 
 	g_simple_async_result_set_op_res_gpointer (self->priv->apply_async_result, &op_res, NULL);
-	g_simple_async_result_complete (self->priv->apply_async_result);
+	g_simple_async_result_complete_in_idle (self->priv->apply_async_result);
 
 	g_clear_object (&self->priv->apply_async_result);
 }



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