mirror of https://github.com/GNOME/gimp.git
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:
parent
edac194b23
commit
a0d9f6e57e
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue