[gimp] app: in compress_motion(), remove accidentally added "break", fix comment



commit b95bb99e05b6ce9459d840f16dd98c2e0c41a9aa
Author: Ell <ell_se yahoo com>
Date:   Thu Jan 4 08:45:18 2018 -0500

    app: in compress_motion(), remove accidentally added "break", fix comment

 app/display/gimpdisplayshell-tool-events.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-tool-events.c b/app/display/gimpdisplayshell-tool-events.c
index 633d69b..e4d04a2 100644
--- a/app/display/gimpdisplayshell-tool-events.c
+++ b/app/display/gimpdisplayshell-tool-events.c
@@ -1989,7 +1989,7 @@ gimp_display_shell_untransform_event_coords (GimpDisplayShell *shell,
  * remove them from the queue, and return the most recent motion event.
  * Otherwise it will return NULL.
  *
- * If `next_event` is non-NULL upon return, the caller must dispatch and
+ * If `*next_event` is non-NULL upon return, the caller must dispatch and
  * free this event after handling the motion event.
  *
  * The gimp_display_shell_compress_motion function source may be re-used under
@@ -2016,7 +2016,6 @@ gimp_display_shell_compress_motion (GdkEvent  *initial_event,
       if (!event)
         {
           /* Do nothing */
-          break;
         }
       else if ((gtk_get_event_widget (event) == widget)               &&
                (event->any.type      == GDK_MOTION_NOTIFY)            &&


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