[gtk: 1/2] box: improve documentation




commit c4a8c0893b65dac9ca2bad042a1e961c600427d7
Author: Yetizone <andreii lisita gmail com>
Date:   Mon Dec 21 16:42:01 2020 +0200

    box: improve documentation
    
    Rephrase a function parameter description and remove "." from all function parameters descriptions
    
    Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3499

 gtk/gtkbox.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index 957678a3c0..f59595a3b0 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -317,8 +317,8 @@ gtk_box_buildable_iface_init (GtkBuildableIface *iface)
 
 /**
  * gtk_box_new:
- * @orientation: the box’s orientation.
- * @spacing: the number of pixels to place by default between children.
+ * @orientation: the box’s orientation
+ * @spacing: the number of pixels to place by default between children
  *
  * Creates a new #GtkBox.
  *
@@ -479,7 +479,7 @@ gtk_box_get_baseline_position (GtkBox *box)
  * gtk_box_insert_child_after:
  * @box: a #GtkBox
  * @child: the #GtkWidget to insert
- * @sibling: (nullable): the sibling to move @child after, or %NULL
+ * @sibling: (nullable): the sibling after which to insert @child
  *
  * Inserts @child in the position after @sibling in the list
  * of @box children. If @sibling is %NULL, insert @child at


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