app: fix build warnings.

Fix 2 "discards ‘const’ qualifier from pointer target type" warnings.
This commit is contained in:
Jehan 2024-04-16 16:40:36 +02:00
parent f10d9a706d
commit bf91e454fd
1 changed files with 2 additions and 2 deletions

View File

@ -712,9 +712,9 @@ gimp_color_editor_color_picked (GtkWidget *widget,
if (editor->context && color)
{
if (editor->edit_bg)
gimp_context_set_background (editor->context, color);
gimp_context_set_background (editor->context, GEGL_COLOR (color));
else
gimp_context_set_foreground (editor->context, color);
gimp_context_set_foreground (editor->context, GEGL_COLOR (color));
}
}