mirror of https://github.com/GNOME/gimp.git
parent
366cddc856
commit
6ea36f3383
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue