[mutter/gnome-3-24] monitor: Fix naming of spec generation function
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-3-24] monitor: Fix naming of spec generation function
- Date: Fri, 12 May 2017 03:57:15 +0000 (UTC)
commit 0f5ac1dc2832adb55dff7f507b750365d80e0b1d
Author: Jonas Ådahl <jadahl gmail com>
Date: Fri Apr 28 15:31:03 2017 +0800
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 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/backends/meta-monitor.c b/src/backends/meta-monitor.c
index f6eb227..3d5e0e4 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]