mirror of https://github.com/GNOME/gimp.git
Merged from trunk:
2008-02-05 Sven Neumann <sven@gimp.org> Merged from trunk: * app/dialogs/image-new-dialog.c (image_new_create_image): use the user context when creating the new image. Fixes bug #514082. svn path=/branches/gimp-2-4/; revision=24807
This commit is contained in:
parent
c988ac9534
commit
9becee4c0a
|
@ -1,3 +1,10 @@
|
|||
2008-02-05 Sven Neumann <sven@gimp.org>
|
||||
|
||||
Merged from trunk:
|
||||
|
||||
* 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 <sven@gimp.org>
|
||||
|
||||
Merged from trunk:
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue