core: Really fix saving variants with REPLACE_DESTINATION

This commit is contained in:
Colin Walters 2012-05-14 12:26:15 -04:00
parent 6d9de91672
commit 50cc2356f4

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;