[gtk/ebassi/gidocgen: 87/478] docs: Fix typos




commit 635054a59be609ccf9293e21e860f6850b954962
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Feb 22 00:11:52 2021 +0000

    docs: Fix typos

 gdk/gdkpopuplayout.c    | 2 +-
 gdk/gdktoplevellayout.c | 3 ++-
 gdk/gdktoplevelsize.c   | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdkpopuplayout.c b/gdk/gdkpopuplayout.c
index ccf815d0f1..f2d243ebd7 100644
--- a/gdk/gdkpopuplayout.c
+++ b/gdk/gdkpopuplayout.c
@@ -26,7 +26,7 @@
  * GdkPopupLayout:
  *
  * The `GdkPopupLayout` struct contains information that is
- * necessary position a `GdkPopup` relaive to its parent.
+ * necessary position a [interface@Gdk.Popup] relative to its parent.
  *
  * The positioning requires a negotiation with the windowing system,
  * since it depends on external constraints, such as the position of
diff --git a/gdk/gdktoplevellayout.c b/gdk/gdktoplevellayout.c
index a950710dd4..3cc027bd61 100644
--- a/gdk/gdktoplevellayout.c
+++ b/gdk/gdktoplevellayout.c
@@ -28,7 +28,8 @@
  * The `GdkToplevelLayout` struct contains information that
  * is necessary to present a sovereign window on screen.
  *
- * The `GdkToplevelLayout` gdk_toplevel_present().
+ * The `GdkToplevelLayout` struct is necessary for using
+ * [method@Gdk.Toplevel.present].
  *
  * Toplevel surfaces are sovereign windows that can be presented
  * to the user in various states (maximized, on all workspaces,
diff --git a/gdk/gdktoplevelsize.c b/gdk/gdktoplevelsize.c
index 895b54033f..b7e3213559 100644
--- a/gdk/gdktoplevelsize.c
+++ b/gdk/gdktoplevelsize.c
@@ -24,7 +24,7 @@
  * GdkToplevelSize:
  *
  * The `GdkToplevelSize` struct contains information that is useful
- * to compute the size of a toplevel size.
+ * to compute the size of a toplevel.
  */
 
 G_DEFINE_POINTER_TYPE (GdkToplevelSize, gdk_toplevel_size)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]