app: fix copy/paste GError bug in some calls to g_file_replace()

This commit is contained in:
Michael Natterer
2014-07-03 13:01:01 +02:00
parent 0753b5a137
commit a572638656
5 changed files with 6 additions and 6 deletions

View File

@ -587,7 +587,7 @@ gimp_curves_config_save_cruft (GimpCurvesConfig *config,
output = G_OUTPUT_STREAM (g_file_replace (file,
NULL, FALSE, G_FILE_CREATE_NONE,
NULL, error));
NULL, &my_error));
if (! output)
{
g_set_error (error, GIMP_DATA_ERROR, GIMP_DATA_ERROR_OPEN,