diff --git a/ChangeLog b/ChangeLog index 99bf467dd4..7de07dfa64 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-02-05 Sven Neumann + + * app/dialogs/image-new-dialog.c (image_new_create_image): + use the user context when creating the new image. Fixes bug #514082. + 2008-02-05 Sven Neumann * plug-ins/common/mail.c: simplified code and user interface by diff --git a/app/dialogs/image-new-dialog.c b/app/dialogs/image-new-dialog.c index 16379f05d3..d2122068ca 100644 --- a/app/dialogs/image-new-dialog.c +++ b/app/dialogs/image-new-dialog.c @@ -333,14 +333,12 @@ static void image_new_create_image (ImageNewDialog *dialog) { GimpTemplate *template = g_object_ref (dialog->template); - GimpContext *context = g_object_ref (dialog->context); Gimp *gimp = dialog->context->gimp; gtk_widget_destroy (dialog->dialog); - gimp_template_create_image (gimp, template, context); + gimp_template_create_image (gimp, template, gimp_get_user_context (gimp)); gimp_image_new_set_last_template (gimp, template); g_object_unref (template); - g_object_unref (context); }