gimp r24806 - in trunk: . app/dialogs
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r24806 - in trunk: . app/dialogs
- Date: Tue, 5 Feb 2008 10:33:10 +0000 (GMT)
Author: neo
Date: Tue Feb 5 10:33:10 2008
New Revision: 24806
URL: http://svn.gnome.org/viewvc/gimp?rev=24806&view=rev
Log:
2008-02-05 Sven Neumann <sven gimp org>
* app/dialogs/image-new-dialog.c (image_new_create_image):
use the user context when creating the new image. Fixes bug #514082.
Modified:
trunk/ChangeLog
trunk/app/dialogs/image-new-dialog.c
Modified: trunk/app/dialogs/image-new-dialog.c
==============================================================================
--- trunk/app/dialogs/image-new-dialog.c (original)
+++ trunk/app/dialogs/image-new-dialog.c Tue Feb 5 10:33:10 2008
@@ -333,14 +333,12 @@
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]