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



commit 4f5dcd05222b7dae0a0a57b887c3c9a98e257863
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 a3b1b77d7..d0927f158 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]