[gnome-flashback] backends: fix spelling
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] backends: fix spelling
- Date: Sat, 23 Mar 2019 18:51:42 +0000 (UTC)
commit bddb5569b8c6df361adf218ca30bdeba11bffba2
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Mar 23 20:25:12 2019 +0200
backends: fix spelling
backends/gf-monitors-config.c | 8 ++++----
backends/gf-rectangle-private.h | 2 +-
backends/gf-rectangle.c | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/backends/gf-monitors-config.c b/backends/gf-monitors-config.c
index a39b7f8..b82b555 100644
--- a/backends/gf-monitors-config.c
+++ b/backends/gf-monitors-config.c
@@ -29,7 +29,7 @@
G_DEFINE_TYPE (GfMonitorsConfig, gf_monitors_config, G_TYPE_OBJECT)
static gboolean
-has_adjecent_neighbour (GfMonitorsConfig *config,
+has_adjacent_neighbour (GfMonitorsConfig *config,
GfLogicalMonitorConfig *logical_monitor_config)
{
GList *l;
@@ -47,7 +47,7 @@ has_adjecent_neighbour (GfMonitorsConfig *config,
if (logical_monitor_config == other_logical_monitor_config)
continue;
- if (gf_rectangle_is_adjecent_to (&logical_monitor_config->layout,
+ if (gf_rectangle_is_adjacent_to (&logical_monitor_config->layout,
&other_logical_monitor_config->layout))
return TRUE;
}
@@ -315,10 +315,10 @@ gf_verify_monitors_config (GfMonitorsConfig *config,
has_primary = TRUE;
}
- if (!has_adjecent_neighbour (config, logical_monitor_config))
+ if (!has_adjacent_neighbour (config, logical_monitor_config))
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
- "Logical monitors not adjecent");
+ "Logical monitors not adjacent");
return FALSE;
}
diff --git a/backends/gf-rectangle-private.h b/backends/gf-rectangle-private.h
index 490261a..acea48c 100644
--- a/backends/gf-rectangle-private.h
+++ b/backends/gf-rectangle-private.h
@@ -29,7 +29,7 @@ G_BEGIN_DECLS
gboolean gf_rectangle_overlaps_with_region (const GList *spanning_rects,
const GfRectangle *rect);
-gboolean gf_rectangle_is_adjecent_to (const GfRectangle *rect,
+gboolean gf_rectangle_is_adjacent_to (const GfRectangle *rect,
const GfRectangle *other);
G_END_DECLS
diff --git a/backends/gf-rectangle.c b/backends/gf-rectangle.c
index 7df8f2d..ca71d42 100644
--- a/backends/gf-rectangle.c
+++ b/backends/gf-rectangle.c
@@ -90,7 +90,7 @@ gf_rectangle_overlaps_with_region (const GList *spanning_rects,
}
gboolean
-gf_rectangle_is_adjecent_to (const GfRectangle *rect,
+gf_rectangle_is_adjacent_to (const GfRectangle *rect,
const GfRectangle *other)
{
gint rect_x1 = rect->x;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]