Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument')
-rw-r--r--libdocument/ev-file-helpers.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdocument/ev-file-helpers.c b/libdocument/ev-file-helpers.c
index 5998e5e..b2451ac 100644
--- a/libdocument/ev-file-helpers.c
+++ b/libdocument/ev-file-helpers.c
@@ -221,6 +221,9 @@ ev_xfer_uri_simple (const char *from,
target_file = g_file_new_for_uri (to);
result = g_file_copy (source_file, target_file,
+#if GLIB_CHECK_VERSION(2,19,0)
+ G_FILE_COPY_TARGET_DEFAULT_PERMS |
+#endif
G_FILE_COPY_OVERWRITE,
NULL, NULL, NULL, &ioerror);