app: Use gimp_image_set_uri()
I forgot to do this...
This commit is contained in:
@ -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,
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user