call image_new_dialog_set() unconditionally. Fixes bug #157096.

2004-11-02  Sven Neumann  <sven@gimp.org>

	* app/actions/image-commands.c (image_new_from_image_cmd_callback):
	call image_new_dialog_set() unconditionally. Fixes bug #157096.
This commit is contained in:
Sven Neumann 2004-11-02 18:58:43 +00:00 committed by Sven Neumann
parent 991630dac5
commit 3f7e196412
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-11-02 Sven Neumann <sven@gimp.org>
* app/actions/image-commands.c (image_new_from_image_cmd_callback):
call image_new_dialog_set() unconditionally. Fixes bug #157096.
2004-11-02 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/drawable_transform.pdb: factored out the

View File

@ -129,8 +129,7 @@ image_new_from_image_cmd_callback (GtkAction *action,
{
GimpImage *gimage = action_data_get_image (data);
if (gimage)
image_new_dialog_set (dialog, gimage, NULL);
image_new_dialog_set (dialog, gimage, NULL);
gtk_window_present (GTK_WINDOW (dialog));
}