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
This commit is contained in:
Jonas Ådahl 2017-04-28 15:31:03 +08:00
parent 1bb0e18042
commit 07b8cc0773

View File

@ -143,7 +143,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);
@ -392,7 +392,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;
}
@ -756,7 +756,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;
}