mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 09:00:42 -05:00
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:
parent
01b6e32e87
commit
0f5ac1dc28
@ -135,7 +135,7 @@ meta_monitor_spec_free (MetaMonitorSpec *monitor_spec)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
meta_monitor_generate_id (MetaMonitor *monitor)
|
meta_monitor_generate_spec (MetaMonitor *monitor)
|
||||||
{
|
{
|
||||||
MetaMonitorPrivate *priv = meta_monitor_get_instance_private (monitor);
|
MetaMonitorPrivate *priv = meta_monitor_get_instance_private (monitor);
|
||||||
MetaOutput *output = meta_monitor_get_main_output (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;
|
monitor_priv->winsys_id = output->winsys_id;
|
||||||
|
|
||||||
meta_monitor_normal_generate_modes (monitor_normal);
|
meta_monitor_normal_generate_modes (monitor_normal);
|
||||||
meta_monitor_generate_id (monitor);
|
meta_monitor_generate_spec (monitor);
|
||||||
|
|
||||||
return monitor_normal;
|
return monitor_normal;
|
||||||
}
|
}
|
||||||
@ -681,7 +681,7 @@ meta_monitor_tiled_new (MetaMonitorManager *monitor_manager,
|
|||||||
META_MONITOR (monitor_tiled));
|
META_MONITOR (monitor_tiled));
|
||||||
|
|
||||||
meta_monitor_tiled_generate_modes (monitor_tiled);
|
meta_monitor_tiled_generate_modes (monitor_tiled);
|
||||||
meta_monitor_generate_id (monitor);
|
meta_monitor_generate_spec (monitor);
|
||||||
|
|
||||||
return monitor_tiled;
|
return monitor_tiled;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user