[gimp] app: Update name of file_save_dialog_save_image() parameter
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Subject: [gimp] app: Update name of file_save_dialog_save_image() parameter
- Date: Wed, 6 May 2009 11:09:06 -0400 (EDT)
commit 9c2aae1281dbf2cdab8e78475ac1dc79f6e5c020
Author: Martin Nordholts <martinn src gnome org>
Date: Wed May 6 17:09:31 2009 +0200
app: Update name of file_save_dialog_save_image() parameter
Rename file_save_dialog_save_image() parameter save_a_copy to
change_saved_state since that is the semantics it has now.
---
app/actions/file-commands.c | 2 +-
app/dialogs/file-save-dialog.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/actions/file-commands.c b/app/actions/file-commands.c
index 007ddf6..0c36020 100644
--- a/app/actions/file-commands.c
+++ b/app/actions/file-commands.c
@@ -246,7 +246,7 @@ file_save_cmd_callback (GtkAction *action,
gimp, image, uri,
save_proc,
GIMP_RUN_WITH_LAST_VALS,
- FALSE, TRUE);
+ TRUE, TRUE);
break;
}
diff --git a/app/dialogs/file-save-dialog.c b/app/dialogs/file-save-dialog.c
index 032cece..acd4552 100644
--- a/app/dialogs/file-save-dialog.c
+++ b/app/dialogs/file-save-dialog.c
@@ -138,7 +138,7 @@ file_save_dialog_response (GtkWidget *save_dialog,
uri,
save_proc,
GIMP_RUN_INTERACTIVE,
- dialog->save_a_copy,
+ ! dialog->save_a_copy,
FALSE))
{
/* Save was successful, now store the URI in a couple of
@@ -491,7 +491,7 @@ file_save_dialog_save_image (GimpProgress *progress,
const gchar *uri,
GimpPlugInProcedure *save_proc,
GimpRunMode run_mode,
- gboolean save_a_copy,
+ gboolean change_saved_state,
gboolean verbose_cancel)
{
GimpPDBStatusType status;
@@ -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, change_saved_state, &error);
switch (status)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]