Commit a1b4f4ae authored by Jehan's avatar Jehan
Browse files

Bug 793638 - (gimp-edit-stroke ...) crashes gimp-console-2.9 unless...

... (gimp-context-set-paint-method...) is called.
GimpContext initialized with standard paint info at constructed() time
to ensure there is always a paint_info even if none were set manually.
parent 753bd0a0
......@@ -954,6 +954,9 @@ gimp_context_constructed (GObject *object)
g_signal_connect_object (gimp->templates, "thaw",
G_CALLBACK (gimp_context_template_list_thaw),
object, 0);
gimp_context_set_paint_info (GIMP_CONTEXT (object),
gimp_paint_info_get_standard (gimp));
static void
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment