[gnome-panel/wip-warnings-next: 12/17] multiscreen: reformat code
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip-warnings-next: 12/17] multiscreen: reformat code
- Date: Tue, 25 Feb 2020 10:58:54 +0000 (UTC)
commit ffe20140b15c54afa665ea6d595ec97ca3f2f940
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 d0a08ed1f..a3b1b77d7 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]