core: Really fix saving variants with REPLACE_DESTINATION
This commit is contained in:
parent
6d9de91672
commit
50cc2356f4
|
|
@ -69,7 +69,7 @@ ot_util_variant_save (GFile *dest,
|
||||||
ot_lobj GOutputStream *out = NULL;
|
ot_lobj GOutputStream *out = NULL;
|
||||||
gsize bytes_written;
|
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);
|
cancellable, error);
|
||||||
if (!out)
|
if (!out)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue