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



commit 2f2219482124be26d4f397fcab488cc4febc8e1d
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 9f5afa884..d8cac24aa 100644
--- a/gnome-panel/panel-multiscreen.c
+++ b/gnome-panel/panel-multiscreen.c
@@ -493,38 +493,38 @@ panel_multiscreen_reinit (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 monitor_geometries [monitor].x;
+  return monitor_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 monitor_geometries [monitor].y;
+  return monitor_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 monitor_geometries [monitor].width;
+  return monitor_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 monitor_geometries [monitor].height;
+  return monitor_geometries [monitor].height;
 }
 
 int


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