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



commit 087e200f5c8461321e0a58e5f1770e20451e04f8
Author: Sebastian Geiger <sbastig gmx net>
Date:   Tue Feb 25 11:52:25 2020 +0100

    multiscreen: reformat code

 gnome-panel/panel-multiscreen.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/gnome-panel/panel-multiscreen.c b/gnome-panel/panel-multiscreen.c
index 6c6457f06..76a0f1f57 100644
--- a/gnome-panel/panel-multiscreen.c
+++ b/gnome-panel/panel-multiscreen.c
@@ -592,23 +592,23 @@ panel_multiscreen_get_monitor_at_point (int        x,
 }
 
 typedef struct {
-       int x0;
-       int y0;
-       int x1;
-       int y1;
+  int x0;
+  int y0;
+  int x1;
+  int y1;
 } MonitorBounds;
 
 static inline void
 get_monitor_bounds (int            n_monitor,
-                   MonitorBounds *bounds)
+                    MonitorBounds *bounds)
 {
-       g_assert (n_monitor >= 0 || n_monitor < monitors);
-       g_assert (bounds != NULL);
+  g_assert (n_monitor >= 0 || n_monitor < monitors);
+  g_assert (bounds != NULL);
 
-       bounds->x0 = geometries [n_monitor].x;
-       bounds->y0 = geometries [n_monitor].y;
-       bounds->x1 = bounds->x0 + geometries [n_monitor].width;
-       bounds->y1 = bounds->y0 + geometries [n_monitor].height;
+  bounds->x0 = geometries [n_monitor].x;
+  bounds->y0 = geometries [n_monitor].y;
+  bounds->x1 = bounds->x0 + geometries [n_monitor].width;
+  bounds->y1 = bounds->y0 + geometries [n_monitor].height;
 }
 
 /* determines whether a given monitor is along the visible


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