[gimp] app: Fix copy-paste error in file-save-dialog.c



commit 1702822720ecdd82b56b6b95eba91ad5023fb29d
Author: Martin Nordholts <martinn src gnome org>
Date:   Wed Feb 2 20:16:31 2011 +0100

    app: Fix copy-paste error in file-save-dialog.c
    
    Fix what must have been a copy-paste error, we can not want to set
    GIMP_FILE_SAVE_LAST_URI_KEY after we have exported.

 app/dialogs/file-save-dialog.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/app/dialogs/file-save-dialog.c b/app/dialogs/file-save-dialog.c
index daf71a6..d9e27ac 100644
--- a/app/dialogs/file-save-dialog.c
+++ b/app/dialogs/file-save-dialog.c
@@ -225,10 +225,6 @@ file_save_dialog_response (GtkWidget *save_dialog,
               gimp_image_set_exported_uri (dialog->image, uri);
             }
 
-          g_object_set_data_full (G_OBJECT (dialog->image->gimp),
-                                  GIMP_FILE_SAVE_LAST_URI_KEY,
-                                  g_strdup (uri), (GDestroyNotify) g_free);
-
           /*  make sure the menus are updated with the keys we've just set  */
           gimp_image_flush (dialog->image);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]