[rhythmbox: 1/4] g_file_copy_async() works fine with G_FILE_COPY_OVERWRITE flag now



commit 7d3d8cc97f1844273fe93dd25e655f038c16fc4b
Author: crvi <crvisqr gmail com>
Date:   Sun Jan 26 23:39:24 2020 +0530

    g_file_copy_async() works fine with G_FILE_COPY_OVERWRITE flag now
    
    Fixes: #1762

 lib/rb-async-copy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/rb-async-copy.c b/lib/rb-async-copy.c
index 3cea9b29c..fa26d5247 100644
--- a/lib/rb-async-copy.c
+++ b/lib/rb-async-copy.c
@@ -113,7 +113,7 @@ rb_async_copy_start (RBAsyncCopy *copy,
 
        g_file_copy_async (copy->priv->src,
                           copy->priv->dest,
-                          G_FILE_COPY_NONE,
+                          G_FILE_COPY_OVERWRITE,
                           G_PRIORITY_DEFAULT,
                           copy->priv->cancel,
                           progress_cb,


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