Commit b1a36b04 authored by Michael Natterer's avatar Michael Natterer 😴

app: cast another argument to g_object_ref() in gimp_tool_info_new()

parent 33d93360
......@@ -236,7 +236,7 @@ gimp_tool_info_new (Gimp *gimp,
if (tool_info->tool_options_type == paint_info->paint_options_type)
{
tool_info->tool_options = g_object_ref (paint_info->paint_options);
tool_info->tool_options = g_object_ref (GIMP_TOOL_OPTIONS (paint_info->paint_options));
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment