mirror of https://github.com/GNOME/gimp.git
Bug 765205 - GIMP crashes dropping the fg color on a text layer
Pass the GimpRGB's address again to gimp_text_layer_set(), not the entire struct.
This commit is contained in:
parent
d7efab3daf
commit
a41b4a0436
|
@ -382,7 +382,7 @@ gimp_display_shell_dnd_fill (GimpDisplayShell *shell,
|
|||
gimp_context_get_foreground (GIMP_CONTEXT (options), &color);
|
||||
|
||||
gimp_text_layer_set (GIMP_TEXT_LAYER (drawable), NULL,
|
||||
"color", color,
|
||||
"color", &color,
|
||||
NULL);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue