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
1 changed files with 3 additions and 3 deletions

View File

@ -795,9 +795,9 @@ 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,
key, press, state);
if (GIMP_TOOL_WIDGET_GET_CLASS (widget)->hover_modifier)
GIMP_TOOL_WIDGET_GET_CLASS (widget)->hover_modifier (widget,
key, press, state);
}
gboolean