From 0f5ac1dc2832adb55dff7f507b750365d80e0b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 28 Apr 2017 15:31:03 +0800 Subject: [PATCH] monitor: Fix naming of spec generation function It was at one point referred to as 'id', but was changed to 'spec', but the name of this function was not updated. https://bugzilla.gnome.org/show_bug.cgi?id=781723 --- src/backends/meta-monitor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backends/meta-monitor.c b/src/backends/meta-monitor.c index f6eb2278b..3d5e0e4f5 100644 --- a/src/backends/meta-monitor.c +++ b/src/backends/meta-monitor.c @@ -135,7 +135,7 @@ meta_monitor_spec_free (MetaMonitorSpec *monitor_spec) } static void -meta_monitor_generate_id (MetaMonitor *monitor) +meta_monitor_generate_spec (MetaMonitor *monitor) { MetaMonitorPrivate *priv = meta_monitor_get_instance_private (monitor); MetaOutput *output = meta_monitor_get_main_output (monitor); @@ -358,7 +358,7 @@ meta_monitor_normal_new (MetaOutput *output) monitor_priv->winsys_id = output->winsys_id; meta_monitor_normal_generate_modes (monitor_normal); - meta_monitor_generate_id (monitor); + meta_monitor_generate_spec (monitor); return monitor_normal; } @@ -681,7 +681,7 @@ meta_monitor_tiled_new (MetaMonitorManager *monitor_manager, META_MONITOR (monitor_tiled)); meta_monitor_tiled_generate_modes (monitor_tiled); - meta_monitor_generate_id (monitor); + meta_monitor_generate_spec (monitor); return monitor_tiled; }