core: Really fix saving variants with REPLACE_DESTINATION

This commit is contained in:
Colin Walters committed 2012-05-14 20:49:00 -04:00
1 parent 6d9de91672
commit 50cc2356f4
1 file changed
+1 -1
+1 -1
View File
@@ -69,7 +69,7 @@ ot_util_variant_save (GFile *dest,
ot_lobj GOutputStream *out = NULL;
gsize bytes_written;
out = (GOutputStream*)g_file_replace (dest, NULL, G_FILE_CREATE_REPLACE_DESTINATION, FALSE,
out = (GOutputStream*)g_file_replace (dest, NULL, FALSE, G_FILE_CREATE_REPLACE_DESTINATION,
cancellable, error);
if (!out)
goto out;