app: dispatch to the right vfunc in gimp_tool_widget_hover_modifier()

it was copy-paste dispatching to motion_modifier().
This commit is contained in:
Michael Natterer
2017-06-26 21:39:51 +02:00
parent 01235690cf
commit 068f850c03

View File

@ -795,8 +795,8 @@ gimp_tool_widget_hover_modifier (GimpToolWidget *widget,
{
g_return_if_fail (GIMP_IS_TOOL_WIDGET (widget));
if (GIMP_TOOL_WIDGET_GET_CLASS (widget)->motion_modifier)
GIMP_TOOL_WIDGET_GET_CLASS (widget)->motion_modifier (widget,
if (GIMP_TOOL_WIDGET_GET_CLASS (widget)->hover_modifier)
GIMP_TOOL_WIDGET_GET_CLASS (widget)->hover_modifier (widget,
key, press, state);
}