[gnome-panel/wip-format: 17/18] multiscreen: reformat code



commit 9738560598ef3dfd8ef480c58539a9f6dc30dad7
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 0c9914540..3f7e4a434 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 = monitor_geometries [n_monitor].x;
-       bounds->y0 = monitor_geometries [n_monitor].y;
-       bounds->x1 = bounds->x0 + monitor_geometries [n_monitor].width;
-       bounds->y1 = bounds->y0 + monitor_geometries [n_monitor].height;
+  bounds->x0 = monitor_geometries [n_monitor].x;
+  bounds->y0 = monitor_geometries [n_monitor].y;
+  bounds->x1 = bounds->x0 + monitor_geometries [n_monitor].width;
+  bounds->y1 = bounds->y0 + monitor_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]