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



commit 0d03c08c769b5a8fe45aaa0a2cab20e83d8ac9e6
Author: Sebastian Geiger <sbastig gmx net>
Date:   Tue Feb 25 11:49:31 2020 +0100

    multiscreen: reformat code

 gnome-panel/panel-multiscreen.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/gnome-panel/panel-multiscreen.c b/gnome-panel/panel-multiscreen.c
index 4ba0731a3..82da2f333 100644
--- a/gnome-panel/panel-multiscreen.c
+++ b/gnome-panel/panel-multiscreen.c
@@ -254,20 +254,20 @@ panel_multiscreen_get_gdk_monitors_for_screen (int           *monitors_ret,
 
 static void
 panel_multiscreen_get_raw_monitors_for_screen (int           *monitors_ret,
-                                              GdkRectangle **geometries_ret)
+                                               GdkRectangle **geometries_ret)
 {
-       gboolean res;
+  gboolean res;
 
-       *monitors_ret = 0;
-       *geometries_ret = NULL;
+  *monitors_ret = 0;
+  *geometries_ret = NULL;
 
-       res = panel_multiscreen_get_randr_monitors_for_screen (monitors_ret,
-                                                              geometries_ret);
-       if (res && *monitors_ret > 0)
-               return;
+  res = panel_multiscreen_get_randr_monitors_for_screen (monitors_ret,
+                                                         geometries_ret);
+  if (res && *monitors_ret > 0)
+    return;
 
-       panel_multiscreen_get_gdk_monitors_for_screen (monitors_ret,
-                                                      geometries_ret);
+  panel_multiscreen_get_gdk_monitors_for_screen (monitors_ret,
+                                                 geometries_ret);
 }
 
 static inline gboolean


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