From e2525f286d3a6687b6d78b038f795d0c1a4f4cb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Fri, 8 Mar 2019 18:13:00 +0000 Subject: [PATCH] monitor: Fix indentation style on calculate_crtc_pos and friends https://gitlab.gnome.org/GNOME/mutter/merge_requests/488 --- src/backends/meta-monitor.c | 36 ++++++++++++++++++------------------ src/backends/meta-monitor.h | 24 ++++++++++++------------ 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/backends/meta-monitor.c b/src/backends/meta-monitor.c index b2f500fa2..1c6e844ce 100644 --- a/src/backends/meta-monitor.c +++ b/src/backends/meta-monitor.c @@ -615,12 +615,12 @@ meta_monitor_normal_get_suggested_position (MetaMonitor *monitor, } static void -meta_monitor_normal_calculate_crtc_pos (MetaMonitor *monitor, - MetaMonitorMode *monitor_mode, - MetaOutput *output, - MetaMonitorTransform crtc_transform, - int *out_x, - int *out_y) +meta_monitor_normal_calculate_crtc_pos (MetaMonitor *monitor, + MetaMonitorMode *monitor_mode, + MetaOutput *output, + MetaMonitorTransform crtc_transform, + int *out_x, + int *out_y) { *out_x = 0; *out_y = 0; @@ -1267,12 +1267,12 @@ meta_monitor_tiled_get_suggested_position (MetaMonitor *monitor, } static void -meta_monitor_tiled_calculate_crtc_pos (MetaMonitor *monitor, - MetaMonitorMode *monitor_mode, - MetaOutput *output, - MetaMonitorTransform crtc_transform, - int *out_x, - int *out_y) +meta_monitor_tiled_calculate_crtc_pos (MetaMonitor *monitor, + MetaMonitorMode *monitor_mode, + MetaOutput *output, + MetaMonitorTransform crtc_transform, + int *out_x, + int *out_y) { MetaMonitorModeTiled *mode_tiled = (MetaMonitorModeTiled *) monitor_mode; @@ -1461,12 +1461,12 @@ meta_monitor_get_modes (MetaMonitor *monitor) } void -meta_monitor_calculate_crtc_pos (MetaMonitor *monitor, - MetaMonitorMode *monitor_mode, - MetaOutput *output, - MetaMonitorTransform crtc_transform, - int *out_x, - int *out_y) +meta_monitor_calculate_crtc_pos (MetaMonitor *monitor, + MetaMonitorMode *monitor_mode, + MetaOutput *output, + MetaMonitorTransform crtc_transform, + int *out_x, + int *out_y) { META_MONITOR_GET_CLASS (monitor)->calculate_crtc_pos (monitor, monitor_mode, diff --git a/src/backends/meta-monitor.h b/src/backends/meta-monitor.h index b24b1a5a0..c3ba4cf39 100644 --- a/src/backends/meta-monitor.h +++ b/src/backends/meta-monitor.h @@ -74,12 +74,12 @@ struct _MetaMonitorClass MetaOutput * (* get_main_output) (MetaMonitor *monitor); void (* derive_layout) (MetaMonitor *monitor, MetaRectangle *layout); - void (* calculate_crtc_pos) (MetaMonitor *monitor, - MetaMonitorMode *monitor_mode, - MetaOutput *output, - MetaMonitorTransform crtc_transform, - int *out_x, - int *out_y); + void (* calculate_crtc_pos) (MetaMonitor *monitor, + MetaMonitorMode *monitor_mode, + MetaOutput *output, + MetaMonitorTransform crtc_transform, + int *out_x, + int *out_y); gboolean (* get_suggested_position) (MetaMonitor *monitor, int *width, int *height); @@ -214,12 +214,12 @@ META_EXPORT_TEST GList * meta_monitor_get_modes (MetaMonitor *monitor); META_EXPORT_TEST -void meta_monitor_calculate_crtc_pos (MetaMonitor *monitor, - MetaMonitorMode *monitor_mode, - MetaOutput *output, - MetaMonitorTransform crtc_transform, - int *out_x, - int *out_y); +void meta_monitor_calculate_crtc_pos (MetaMonitor *monitor, + MetaMonitorMode *monitor_mode, + MetaOutput *output, + MetaMonitorTransform crtc_transform, + int *out_x, + int *out_y); META_EXPORT_TEST float meta_monitor_calculate_mode_scale (MetaMonitor *monitor,