[gnome-panel/wip-warnings-next: 17/20] multiscreen: reformat code
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip-warnings-next: 17/20] multiscreen: reformat code
- Date: Tue, 25 Feb 2020 14:40:35 +0000 (UTC)
commit d6bd298696066e193f58728c17babab725de4074
Author: Sebastian Geiger <sbastig gmx net>
Date: Tue Feb 25 11:51:55 2020 +0100
multiscreen: reformat code
gnome-panel/panel-multiscreen.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gnome-panel/panel-multiscreen.c b/gnome-panel/panel-multiscreen.c
index b5d037b61..4622a7613 100644
--- a/gnome-panel/panel-multiscreen.c
+++ b/gnome-panel/panel-multiscreen.c
@@ -546,12 +546,12 @@ panel_multiscreen_locate_widget_monitor (GtkWidget *widget)
static int
axis_distance (int p, int axis_start, int axis_size)
{
- if (p >= axis_start && p < axis_start + axis_size)
- return 0;
- else if (p < axis_start)
- return (axis_start - p);
- else
- return (p - (axis_start + axis_size - 1));
+ if (p >= axis_start && p < axis_start + axis_size)
+ return 0;
+ else if (p < axis_start)
+ return (axis_start - p);
+ else
+ return (p - (axis_start + axis_size - 1));
}
/* The panel can't use gdk_screen_get_monitor_at_point() since it has its own
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]