mirror of https://github.com/GNOME/gimp.git
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:
parent
753bd0a0c9
commit
a1b4f4aef5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue