app: fix copy/paste GError bug in some calls to g_file_replace()
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user