I've got a plugin that attaches to an existing (displayed) image,
and replaces it with a different image:

  gint newImage = gimp_file_load(...);
  gimp_displays_reconnect(oldImage, newImage);

Problem is that (I think) the new image now has two references, so
when the user closes the image display the image is not deleted.
If that's right, is there any way to remove the extra reference?
If not, what's going on?

David Hodson  --  this night wounds time

Gimp-developer mailing list

Reply via email to