summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--include/ganv/canvas.h2
-rw-r--r--meson.build2
-rw-r--r--src/Canvas.cpp4
4 files changed, 5 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 1c9e8c8..1cee5f0 100644
--- a/NEWS
+++ b/NEWS
@@ -26,7 +26,7 @@ ganv (1.6.0) stable; urgency=medium
* Add support for beveled box corners.
* Add support for edges that do not constrain the layout.
* Dampen sprung layout energy over time to prevent oscillation.
- * Distinguish edge color from port color slighly.
+ * Distinguish edge color from port color slightly.
* Fix compilation with --no-fdgl (patch from Vlad Glagolev).
* Fix crash when destroying canvas.
* Fix port position on modules with embedded widgets.
diff --git a/include/ganv/canvas.h b/include/ganv/canvas.h
index 60f076a..d8c6667 100644
--- a/include/ganv/canvas.h
+++ b/include/ganv/canvas.h
@@ -234,7 +234,7 @@ ganv_canvas_get_center_scroll_region(const GanvCanvas* canvas);
* Makes a canvas scroll to the specified offsets, given in canvas pixel units.
* The canvas will adjust the view so that it is not outside the scrolling
* region. This function is typically not used, as it is better to hook
- * scrollbars to the canvas layout's scrolling adjusments.
+ * scrollbars to the canvas layout's scrolling adjustments.
*/
void
ganv_canvas_scroll_to(GanvCanvas* canvas, int cx, int cy);
diff --git a/meson.build b/meson.build
index 9ac49a9..151af73 100644
--- a/meson.build
+++ b/meson.build
@@ -366,7 +366,7 @@ ganv_dep = declare_dependency(
link_with: libganv,
)
-# Generage pkg-config file for external dependants
+# Generate pkg-config file for external dependants
pkg.generate(
libganv,
description: 'Interactive Gtk canvas widget for graph-based interfaces',
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index b7b7bfc..66e1bf3 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -463,7 +463,7 @@ struct GanvCanvasImpl {
int redraw_x2;
int redraw_y2;
- /* Offsets of the temprary drawing pixmap */
+ /* Offsets of the temporary drawing pixmap */
int draw_xofs;
int draw_yofs;
@@ -3201,7 +3201,7 @@ ganv_canvas_emit_event(GanvCanvas* canvas, GdkEvent* event)
}
}
- /* Convert to world coordinates -- we have two cases because of diferent
+ /* Convert to world coordinates -- we have two cases because of different
* offsets of the fields in the event structures.
*/