From d67101d46e7d8647e4a13eb66ab97abfa4ba0dc5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 15 Apr 2023 10:35:12 +0000 Subject: [PATCH] Tweak the wording --- gtk/gskpango.c | 4 +++- gtk/gtksnapshot.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gtk/gskpango.c b/gtk/gskpango.c index 0b64e75121..4dd0a853b7 100644 --- a/gtk/gskpango.c +++ b/gtk/gskpango.c @@ -462,7 +462,9 @@ gsk_pango_renderer_release (GskPangoRenderer *renderer) * current node. * * Note that if the layout does not contain any printable character, then - * no node will be added to the @snapshot. + * current node. + * + * Note that if the layout does not produce any visible output, then nodes may not be added to the @snapshot. **/ void gtk_snapshot_append_layout (GtkSnapshot *snapshot, diff --git a/gtk/gtksnapshot.c b/gtk/gtksnapshot.c index 0ec116265b..44123e9bae 100644 --- a/gtk/gtksnapshot.c +++ b/gtk/gtksnapshot.c @@ -300,7 +300,7 @@ gtk_snapshot_new (void) * Returns the node that was constructed by @snapshot * and frees @snapshot. * - * See also gtk_snapshot_to_node(). + * See also [method@Gtk.Snapshot.to_node]. * * Returns: (transfer full) (nullable): a newly-created [class@Gsk.RenderNode] */ -- 2.30.2