keep a reference on the old image until the display is connected to the

2006-03-06  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplay.c (gimp_display_reconnect): keep a
	reference on the old image until the display is connected to the
	new one. Fixes bug #333568.

	* app/display/gimpdisplay-handlers.c: fixed typo in comment.

	* app/actions/file-commands.c: cosmetics.
This commit is contained in:
Sven Neumann 2006-03-06 17:35:40 +00:00 committed by Sven Neumann
parent 62f7298ba0
commit 2a0378acb5
4 changed files with 18 additions and 5 deletions

View file

@ -555,9 +555,7 @@ file_revert_confirm_response (GtkWidget *dialog,
}
else if (status != GIMP_PDB_CANCEL)
{
gchar *filename;
filename = file_utils_uri_display_name (uri);
gchar *filename = file_utils_uri_display_name (uri);
g_message (_("Reverting to '%s' failed:\n\n%s"),
filename, error->message);