[gnome-panel/wip-warnings-next: 14/17] multiscreen: reformat code



commit bcec5859c5504222e7b585219d3020345021d871
Author: Sebastian Geiger <sbastig gmx net>
Date:   Tue Feb 25 11:51:55 2020 +0100

    multiscreen: reformat code

 gnome-panel/panel-multiscreen.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gnome-panel/panel-multiscreen.c b/gnome-panel/panel-multiscreen.c
index d0927f158..8ac96a5cf 100644
--- a/gnome-panel/panel-multiscreen.c
+++ b/gnome-panel/panel-multiscreen.c
@@ -546,12 +546,12 @@ panel_multiscreen_locate_widget_monitor (GtkWidget *widget)
 static int
 axis_distance (int p, int axis_start, int axis_size)
 {
-       if (p >= axis_start && p < axis_start + axis_size)
-               return 0;
-       else if (p < axis_start)
-               return (axis_start - p);
-       else
-               return (p - (axis_start + axis_size - 1));
+  if (p >= axis_start && p < axis_start + axis_size)
+    return 0;
+  else if (p < axis_start)
+    return (axis_start - p);
+  else
+    return (p - (axis_start + axis_size - 1));
 }
 
 /* The panel can't use gdk_screen_get_monitor_at_point() since it has its own


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