Tweak the wording
authorMatthias Clasen <mclasen@redhat.com>
Sat, 15 Apr 2023 10:35:12 +0000 (10:35 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 15 Apr 2023 10:35:12 +0000 (10:35 +0000)
gtk/gskpango.c
gtk/gtksnapshot.c

index 0b64e751210bda93296211c80aab1d792cf33604..4dd0a853b793342f92146464991f41b4829dfc87 100644 (file)
@@ -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,
index 0ec116265b45c484a19ecc34045aceff15e2fd7d..44123e9bae8e3ddb43c82c76793a2067f8642e88 100644 (file)
@@ -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]
  */