box: improve documentation

Rephrase a function parameter description and remove "." from all function parameters descriptions

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3499
This commit is contained in:
Yetizone 2020-12-21 16:42:01 +02:00
parent 933d241bba
commit c4a8c0893b

View File

@ -317,8 +317,8 @@ gtk_box_buildable_iface_init (GtkBuildableIface *iface)
/**
* gtk_box_new:
* @orientation: the boxs orientation.
* @spacing: the number of pixels to place by default between children.
* @orientation: the boxs 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