[goocanvas] Correct indentation to avoid a gcc 7 warning.



commit 0b5b99fd28459797a028a4f3cd523553d673f64f
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Nov 1 21:08:00 2017 +0100

    Correct indentation to avoid a gcc 7 warning.

 src/goocanvas.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/goocanvas.c b/src/goocanvas.c
index 5641f45..777a4a5 100644
--- a/src/goocanvas.c
+++ b/src/goocanvas.c
@@ -3190,13 +3190,13 @@ goo_canvas_crossing        (GtkWidget        *widget,
   if (event->window != canvas->canvas_window)
     return FALSE;
 
-    /* If the pointer has left the canvas window due to a grab, then finish any
-       implicit pointer grab we have underway. */
-    if (event->type == GDK_LEAVE_NOTIFY
-      && (event->mode == GDK_CROSSING_GRAB
-         || event->mode == GDK_CROSSING_GTK_GRAB)
-      && canvas->pointer_grab_item
-      && priv->pointer_grab_is_implicit)
+  /* If the pointer has left the canvas window due to a grab, then finish any
+     implicit pointer grab we have underway. */
+  if (event->type == GDK_LEAVE_NOTIFY
+    && (event->mode == GDK_CROSSING_GRAB
+        || event->mode == GDK_CROSSING_GTK_GRAB)
+    && canvas->pointer_grab_item
+    && priv->pointer_grab_is_implicit)
     {
       goo_canvas_finish_pointer_grab (canvas, (GdkEvent*) event);
     }


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