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



commit 2b7e263ae44bd0a5c725d5cb001ebe5bf344e349
Author: Sebastian Geiger <sbastig gmx net>
Date:   Tue Feb 25 11:51:34 2020 +0100

    multiscreen: reformat code

 gnome-panel/panel-multiscreen.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/gnome-panel/panel-multiscreen.c b/gnome-panel/panel-multiscreen.c
index 75dbc9e80..a0795f585 100644
--- a/gnome-panel/panel-multiscreen.c
+++ b/gnome-panel/panel-multiscreen.c
@@ -494,38 +494,38 @@ panel_multiscreen_init (void)
 
 int
 panel_multiscreen_x (GdkScreen *screen,
-                    int        monitor)
+                     int        monitor)
 {
-       g_return_val_if_fail (monitor >= 0 && monitor < monitors, 0);
+  g_return_val_if_fail (monitor >= 0 && monitor < monitors, 0);
 
-       return geometries [monitor].x;
+  return geometries [monitor].x;
 }
 
 int
 panel_multiscreen_y (GdkScreen *screen,
-                    int        monitor)
+                     int        monitor)
 {
-       g_return_val_if_fail (monitor >= 0 && monitor < monitors, 0);
+  g_return_val_if_fail (monitor >= 0 && monitor < monitors, 0);
 
-       return geometries [monitor].y;
+  return geometries [monitor].y;
 }
 
 int
 panel_multiscreen_width (GdkScreen *screen,
-                        int        monitor)
+                         int        monitor)
 {
-       g_return_val_if_fail (monitor >= 0 && monitor < monitors, 0);
+  g_return_val_if_fail (monitor >= 0 && monitor < monitors, 0);
 
-       return geometries [monitor].width;
+  return geometries [monitor].width;
 }
 
 int
 panel_multiscreen_height (GdkScreen *screen,
-                         int        monitor)
+                          int        monitor)
 {
-       g_return_val_if_fail (monitor >= 0 && monitor < monitors, 0);
+  g_return_val_if_fail (monitor >= 0 && monitor < monitors, 0);
 
-       return geometries [monitor].height;
+  return geometries [monitor].height;
 }
 
 int


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