[gimp] app: dispatch to the right vfunc in gimp_tool_widget_hover_modifier()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: dispatch to the right vfunc in gimp_tool_widget_hover_modifier()
- Date: Mon, 26 Jun 2017 19:40:30 +0000 (UTC)
commit 068f850c0330bba409cc27f632ce5605a609c578
Author: Michael Natterer <mitch gimp org>
Date: Mon Jun 26 21:39:51 2017 +0200
app: dispatch to the right vfunc in gimp_tool_widget_hover_modifier()
it was copy-paste dispatching to motion_modifier().
app/display/gimptoolwidget.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/display/gimptoolwidget.c b/app/display/gimptoolwidget.c
index 4e321df..dd94b33 100644
--- a/app/display/gimptoolwidget.c
+++ b/app/display/gimptoolwidget.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]