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



commit b65f6912ea5ccc73757d901c7e06987819639ea2
Author: Sebastian Geiger <sbastig gmx net>
Date:   Tue Feb 25 11:51:42 2020 +0100

    multiscreen: reformat code

 gnome-panel/panel-multiscreen.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gnome-panel/panel-multiscreen.c b/gnome-panel/panel-multiscreen.c
index a0795f585..b5d037b61 100644
--- a/gnome-panel/panel-multiscreen.c
+++ b/gnome-panel/panel-multiscreen.c
@@ -531,16 +531,16 @@ panel_multiscreen_height (GdkScreen *screen,
 int
 panel_multiscreen_locate_widget_monitor (GtkWidget *widget)
 {
-       GtkWidget *toplevel;
-       int        retval = -1;
+  GtkWidget *toplevel;
+  int        retval = -1;
 
-       toplevel = gtk_widget_get_toplevel (widget);
-       if (!toplevel)
-               return -1;
-       
-       g_object_get (toplevel, "monitor", &retval, NULL);
+  toplevel = gtk_widget_get_toplevel (widget);
+  if (!toplevel)
+    return -1;
+
+  g_object_get (toplevel, "monitor", &retval, NULL);
 
-       return retval;
+  return retval;
 }
 
 static int


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