app: rename process_stroke() and process_hover() to request_foo()
Because that's what we are doing by calling the functions: requesting the emission of "stroke" and "hover" signals.
This commit is contained in:
@ -924,7 +924,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
|
|||||||
shell->scale_y,
|
shell->scale_y,
|
||||||
TRUE))
|
TRUE))
|
||||||
{
|
{
|
||||||
gimp_motion_buffer_process_stroke (shell->motion_buffer,
|
gimp_motion_buffer_request_stroke (shell->motion_buffer,
|
||||||
state,
|
state,
|
||||||
history_events[i]->time);
|
history_events[i]->time);
|
||||||
}
|
}
|
||||||
@ -945,7 +945,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
|
|||||||
shell->scale_y,
|
shell->scale_y,
|
||||||
event_fill))
|
event_fill))
|
||||||
{
|
{
|
||||||
gimp_motion_buffer_process_stroke (shell->motion_buffer,
|
gimp_motion_buffer_request_stroke (shell->motion_buffer,
|
||||||
state,
|
state,
|
||||||
time);
|
time);
|
||||||
}
|
}
|
||||||
@ -966,7 +966,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
|
|||||||
shell->scale_y,
|
shell->scale_y,
|
||||||
FALSE))
|
FALSE))
|
||||||
{
|
{
|
||||||
gimp_motion_buffer_process_hover (shell->motion_buffer,
|
gimp_motion_buffer_request_hover (shell->motion_buffer,
|
||||||
state,
|
state,
|
||||||
shell->proximity);
|
shell->proximity);
|
||||||
}
|
}
|
||||||
|
@ -445,7 +445,7 @@ gimp_motion_buffer_motion_event (GimpMotionBuffer *buffer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gimp_motion_buffer_process_stroke (GimpMotionBuffer *buffer,
|
gimp_motion_buffer_request_stroke (GimpMotionBuffer *buffer,
|
||||||
GdkModifierType state,
|
GdkModifierType state,
|
||||||
guint32 time)
|
guint32 time)
|
||||||
{
|
{
|
||||||
@ -495,7 +495,7 @@ gimp_motion_buffer_process_stroke (GimpMotionBuffer *buffer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gimp_motion_buffer_process_hover (GimpMotionBuffer *buffer,
|
gimp_motion_buffer_request_hover (GimpMotionBuffer *buffer,
|
||||||
GdkModifierType state,
|
GdkModifierType state,
|
||||||
gboolean proximity)
|
gboolean proximity)
|
||||||
{
|
{
|
||||||
@ -587,7 +587,7 @@ gimp_motion_buffer_event_queue_timeout (GimpMotionBuffer *buffer)
|
|||||||
|
|
||||||
gimp_motion_buffer_push_event_history (buffer, &last_coords);
|
gimp_motion_buffer_push_event_history (buffer, &last_coords);
|
||||||
|
|
||||||
gimp_motion_buffer_process_stroke (buffer,
|
gimp_motion_buffer_request_stroke (buffer,
|
||||||
buffer->last_active_state,
|
buffer->last_active_state,
|
||||||
buffer->last_read_motion_time);
|
buffer->last_read_motion_time);
|
||||||
}
|
}
|
||||||
|
@ -89,10 +89,10 @@ gboolean gimp_motion_buffer_motion_event (GimpMotionBuffer *buffer,
|
|||||||
gdouble scale_y,
|
gdouble scale_y,
|
||||||
gboolean event_fill);
|
gboolean event_fill);
|
||||||
|
|
||||||
void gimp_motion_buffer_process_stroke (GimpMotionBuffer *buffer,
|
void gimp_motion_buffer_request_stroke (GimpMotionBuffer *buffer,
|
||||||
GdkModifierType state,
|
GdkModifierType state,
|
||||||
guint32 time);
|
guint32 time);
|
||||||
void gimp_motion_buffer_process_hover (GimpMotionBuffer *buffer,
|
void gimp_motion_buffer_request_hover (GimpMotionBuffer *buffer,
|
||||||
GdkModifierType state,
|
GdkModifierType state,
|
||||||
gboolean proximity);
|
gboolean proximity);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user