[gimp] app: rename process_stroke() and process_hover() to request_foo()



commit e028195cf38a4fddd6a79a06400f5d528913496c
Author: Michael Natterer <mitch gimp org>
Date:   Mon Apr 18 11:31:38 2011 +0200

    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.

 app/display/gimpdisplayshell-tool-events.c |    6 +++---
 app/display/gimpmotionbuffer.c             |    6 +++---
 app/display/gimpmotionbuffer.h             |    4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-tool-events.c b/app/display/gimpdisplayshell-tool-events.c
index 05516d8..dbf4dad 100644
--- a/app/display/gimpdisplayshell-tool-events.c
+++ b/app/display/gimpdisplayshell-tool-events.c
@@ -924,7 +924,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget        *canvas,
                                                              shell->scale_y,
                                                              TRUE))
                           {
-                            gimp_motion_buffer_process_stroke (shell->motion_buffer,
+                            gimp_motion_buffer_request_stroke (shell->motion_buffer,
                                                                state,
                                                                history_events[i]->time);
                           }
@@ -945,7 +945,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget        *canvas,
                                                          shell->scale_y,
                                                          event_fill))
                       {
-                        gimp_motion_buffer_process_stroke (shell->motion_buffer,
+                        gimp_motion_buffer_request_stroke (shell->motion_buffer,
                                                            state,
                                                            time);
                       }
@@ -966,7 +966,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget        *canvas,
                                                  shell->scale_y,
                                                  FALSE))
               {
-                gimp_motion_buffer_process_hover (shell->motion_buffer,
+                gimp_motion_buffer_request_hover (shell->motion_buffer,
                                                   state,
                                                   shell->proximity);
               }
diff --git a/app/display/gimpmotionbuffer.c b/app/display/gimpmotionbuffer.c
index 5ec57a3..fa94a55 100644
--- a/app/display/gimpmotionbuffer.c
+++ b/app/display/gimpmotionbuffer.c
@@ -445,7 +445,7 @@ gimp_motion_buffer_motion_event (GimpMotionBuffer *buffer,
 }
 
 void
-gimp_motion_buffer_process_stroke (GimpMotionBuffer *buffer,
+gimp_motion_buffer_request_stroke (GimpMotionBuffer *buffer,
                                    GdkModifierType   state,
                                    guint32           time)
 {
@@ -495,7 +495,7 @@ gimp_motion_buffer_process_stroke (GimpMotionBuffer *buffer,
 }
 
 void
-gimp_motion_buffer_process_hover (GimpMotionBuffer *buffer,
+gimp_motion_buffer_request_hover (GimpMotionBuffer *buffer,
                                   GdkModifierType   state,
                                   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_process_stroke (buffer,
+      gimp_motion_buffer_request_stroke (buffer,
                                          buffer->last_active_state,
                                          buffer->last_read_motion_time);
     }
diff --git a/app/display/gimpmotionbuffer.h b/app/display/gimpmotionbuffer.h
index 84da69f..ea10aa2 100644
--- a/app/display/gimpmotionbuffer.h
+++ b/app/display/gimpmotionbuffer.h
@@ -89,10 +89,10 @@ gboolean   gimp_motion_buffer_motion_event        (GimpMotionBuffer *buffer,
                                                    gdouble           scale_y,
                                                    gboolean          event_fill);
 
-void       gimp_motion_buffer_process_stroke      (GimpMotionBuffer *buffer,
+void       gimp_motion_buffer_request_stroke      (GimpMotionBuffer *buffer,
                                                    GdkModifierType   state,
                                                    guint32           time);
-void       gimp_motion_buffer_process_hover       (GimpMotionBuffer *buffer,
+void       gimp_motion_buffer_request_hover       (GimpMotionBuffer *buffer,
                                                    GdkModifierType   state,
                                                    gboolean          proximity);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]