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:
Massimo Valentini 2016-04-18 13:36:24 +02:00 committed by Michael Natterer
parent d7efab3daf
commit a41b4a0436
1 changed files with 1 additions and 1 deletions

View File

@ -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