[gnome-panel/wip-warnings-next: 19/20] multiscreen: reformat code



commit b890ed0033069f1a7984e709b0393654cc14bc2b
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 7c09ccbd5..b36f3197b 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]