Commit e2525f28 authored by Marco Trevisan's avatar Marco Trevisan 🎺 Committed by Georges Basile Stavracas Neto

monitor: Fix indentation style on calculate_crtc_pos and friends

GNOME/mutter!488
parent 9b8510ac
...@@ -615,12 +615,12 @@ meta_monitor_normal_get_suggested_position (MetaMonitor *monitor, ...@@ -615,12 +615,12 @@ meta_monitor_normal_get_suggested_position (MetaMonitor *monitor,
} }
static void static void
meta_monitor_normal_calculate_crtc_pos (MetaMonitor *monitor, meta_monitor_normal_calculate_crtc_pos (MetaMonitor *monitor,
MetaMonitorMode *monitor_mode, MetaMonitorMode *monitor_mode,
MetaOutput *output, MetaOutput *output,
MetaMonitorTransform crtc_transform, MetaMonitorTransform crtc_transform,
int *out_x, int *out_x,
int *out_y) int *out_y)
{ {
*out_x = 0; *out_x = 0;
*out_y = 0; *out_y = 0;
...@@ -1267,12 +1267,12 @@ meta_monitor_tiled_get_suggested_position (MetaMonitor *monitor, ...@@ -1267,12 +1267,12 @@ meta_monitor_tiled_get_suggested_position (MetaMonitor *monitor,
} }
static void static void
meta_monitor_tiled_calculate_crtc_pos (MetaMonitor *monitor, meta_monitor_tiled_calculate_crtc_pos (MetaMonitor *monitor,
MetaMonitorMode *monitor_mode, MetaMonitorMode *monitor_mode,
MetaOutput *output, MetaOutput *output,
MetaMonitorTransform crtc_transform, MetaMonitorTransform crtc_transform,
int *out_x, int *out_x,
int *out_y) int *out_y)
{ {
MetaMonitorModeTiled *mode_tiled = (MetaMonitorModeTiled *) monitor_mode; MetaMonitorModeTiled *mode_tiled = (MetaMonitorModeTiled *) monitor_mode;
...@@ -1461,12 +1461,12 @@ meta_monitor_get_modes (MetaMonitor *monitor) ...@@ -1461,12 +1461,12 @@ meta_monitor_get_modes (MetaMonitor *monitor)
} }
void void
meta_monitor_calculate_crtc_pos (MetaMonitor *monitor, meta_monitor_calculate_crtc_pos (MetaMonitor *monitor,
MetaMonitorMode *monitor_mode, MetaMonitorMode *monitor_mode,
MetaOutput *output, MetaOutput *output,
MetaMonitorTransform crtc_transform, MetaMonitorTransform crtc_transform,
int *out_x, int *out_x,
int *out_y) int *out_y)
{ {
META_MONITOR_GET_CLASS (monitor)->calculate_crtc_pos (monitor, META_MONITOR_GET_CLASS (monitor)->calculate_crtc_pos (monitor,
monitor_mode, monitor_mode,
......
...@@ -74,12 +74,12 @@ struct _MetaMonitorClass ...@@ -74,12 +74,12 @@ struct _MetaMonitorClass
MetaOutput * (* get_main_output) (MetaMonitor *monitor); MetaOutput * (* get_main_output) (MetaMonitor *monitor);
void (* derive_layout) (MetaMonitor *monitor, void (* derive_layout) (MetaMonitor *monitor,
MetaRectangle *layout); MetaRectangle *layout);
void (* calculate_crtc_pos) (MetaMonitor *monitor, void (* calculate_crtc_pos) (MetaMonitor *monitor,
MetaMonitorMode *monitor_mode, MetaMonitorMode *monitor_mode,
MetaOutput *output, MetaOutput *output,
MetaMonitorTransform crtc_transform, MetaMonitorTransform crtc_transform,
int *out_x, int *out_x,
int *out_y); int *out_y);
gboolean (* get_suggested_position) (MetaMonitor *monitor, gboolean (* get_suggested_position) (MetaMonitor *monitor,
int *width, int *width,
int *height); int *height);
...@@ -214,12 +214,12 @@ META_EXPORT_TEST ...@@ -214,12 +214,12 @@ META_EXPORT_TEST
GList * meta_monitor_get_modes (MetaMonitor *monitor); GList * meta_monitor_get_modes (MetaMonitor *monitor);
META_EXPORT_TEST META_EXPORT_TEST
void meta_monitor_calculate_crtc_pos (MetaMonitor *monitor, void meta_monitor_calculate_crtc_pos (MetaMonitor *monitor,
MetaMonitorMode *monitor_mode, MetaMonitorMode *monitor_mode,
MetaOutput *output, MetaOutput *output,
MetaMonitorTransform crtc_transform, MetaMonitorTransform crtc_transform,
int *out_x, int *out_x,
int *out_y); int *out_y);
META_EXPORT_TEST META_EXPORT_TEST
float meta_monitor_calculate_mode_scale (MetaMonitor *monitor, float meta_monitor_calculate_mode_scale (MetaMonitor *monitor,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment