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.
This commit is contained in:
@ -954,6 +954,9 @@ gimp_context_constructed (GObject *object)
|
|||||||
g_signal_connect_object (gimp->templates, "thaw",
|
g_signal_connect_object (gimp->templates, "thaw",
|
||||||
G_CALLBACK (gimp_context_template_list_thaw),
|
G_CALLBACK (gimp_context_template_list_thaw),
|
||||||
object, 0);
|
object, 0);
|
||||||
|
|
||||||
|
gimp_context_set_paint_info (GIMP_CONTEXT (object),
|
||||||
|
gimp_paint_info_get_standard (gimp));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Reference in New Issue
Block a user