app: Use gimp_image_set_uri()

I forgot to do this...
This commit is contained in:
Martin Nordholts 2011-01-26 20:49:00 +01:00
parent 366cddc856
commit 6ea36f3383
2 changed files with 3 additions and 4 deletions

View file

@ -357,8 +357,7 @@ debug_show_image_graph (GimpImage *source_image)
tile_manager_height (tiles),
GIMP_RGB,
FALSE);
gimp_object_set_name (GIMP_OBJECT (new_image),
new_name);
gimp_image_set_uri (new_image, new_name);
layer = gimp_layer_new_from_tiles (tiles,
new_image,
GIMP_RGBA_IMAGE,

View file

@ -212,7 +212,7 @@ file_open_image (Gimp *gimp,
gimp_image_set_imported_uri (image, uri);
/* We shall treat this file as an Untitled file */
gimp_object_set_name (GIMP_OBJECT (image), NULL);
gimp_image_set_uri (image, NULL);
}
}
@ -593,7 +593,7 @@ file_open_sanitize_image (GimpImage *image,
gboolean as_new)
{
if (as_new)
gimp_object_set_name (GIMP_OBJECT (image), NULL);
gimp_image_set_uri (image, NULL);
/* clear all undo steps */
gimp_image_undo_free (image);