[epiphany] Do not recreate bookmark file



commit b4bf760705c38802ed1c9c45d3fe9865aaf7079f
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Mon Feb 3 18:11:25 2020 +0100

    Do not recreate bookmark file
    
    Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/198

 lib/contrib/gvdb/README.epiphany | 2 ++
 lib/contrib/gvdb/gvdb-builder.c  | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/lib/contrib/gvdb/README.epiphany b/lib/contrib/gvdb/README.epiphany
index 32f36f50a..f31049b2f 100644
--- a/lib/contrib/gvdb/README.epiphany
+++ b/lib/contrib/gvdb/README.epiphany
@@ -6,3 +6,5 @@ GVariant Database
  * Add clang ifdef guards (#ifndef __clang_analyzer__) around:
    - file_builder_allocate_for_hash
    - file_builder_add_hash
+
+ * Removed G_FILE_CREATE_REPLACE_DESTINATION in gvdb_table_write_contents_async
\ No newline at end of file
diff --git a/lib/contrib/gvdb/gvdb-builder.c b/lib/contrib/gvdb/gvdb-builder.c
index c5bc61231..0ac6db01f 100644
--- a/lib/contrib/gvdb/gvdb-builder.c
+++ b/lib/contrib/gvdb/gvdb-builder.c
@@ -610,7 +610,7 @@ gvdb_table_write_contents_async (GHashTable          *table,
                                  g_bytes_get_data (bytes, NULL),
                                  g_bytes_get_size (bytes),
                                  NULL, FALSE,
-                                 G_FILE_CREATE_PRIVATE | G_FILE_CREATE_REPLACE_DESTINATION,
+                                 G_FILE_CREATE_PRIVATE,
                                  cancellable, replace_contents_cb, g_steal_pointer (&task));
 
   g_bytes_unref (bytes);


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