app: Rename file_save() parameter save_a_copy to change_saved_state

Rename file_save() parameter save_a_copy to change_saved_state since
that is the semantics it has now.
This commit is contained in:
Martin Nordholts 2009-05-06 15:03:30 +02:00
parent edac194b23
commit a0d9f6e57e
4 changed files with 5 additions and 5 deletions

View File

@ -507,7 +507,7 @@ file_save_dialog_save_image (GimpProgress *progress,
}
status = file_save (gimp, image, progress, uri,
save_proc, run_mode, save_a_copy, &error);
save_proc, run_mode, ! save_a_copy, &error);
switch (status)
{

View File

@ -73,7 +73,7 @@ file_save (Gimp *gimp,
const gchar *uri,
GimpPlugInProcedure *file_proc,
GimpRunMode run_mode,
gboolean save_a_copy,
gboolean change_saved_state,
GError **error)
{
GimpDrawable *drawable;
@ -154,7 +154,7 @@ file_save (Gimp *gimp,
GimpDocumentList *documents;
GimpImagefile *imagefile;
if (! save_a_copy)
if (change_saved_state)
{
gimp_image_set_uri (image, uri);
gimp_image_set_save_proc (image, file_proc);

View File

@ -27,7 +27,7 @@ GimpPDBStatusType file_save (Gimp *gimp,
const gchar *uri,
GimpPlugInProcedure *file_proc,
GimpRunMode run_mode,
gboolean save_a_copy,
gboolean change_saved_state,
GError **error);

View File

@ -154,7 +154,7 @@ gimp_dnd_xds_save_image (GdkDragContext *context,
{
if (file_save (image->gimp,
image, NULL,
uri, proc, GIMP_RUN_INTERACTIVE, FALSE,
uri, proc, GIMP_RUN_INTERACTIVE, TRUE,
&error) == GIMP_PDB_SUCCESS)
{
gtk_selection_data_set (selection,