[gtk/gtk-4-6: 1/2] Fix gi-docgen comments for gtk_stack_get_page.
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-4-6: 1/2] Fix gi-docgen comments for gtk_stack_get_page.
- Date: Mon, 11 Jul 2022 18:18:27 +0000 (UTC)
commit a9f658ab8f40b274d5390142de3be19d56a04405
Author: Hugo Parente Lima <hugo pl gmail com>
Date: Mon Jul 11 18:18:25 2022 +0000
Fix gi-docgen comments for gtk_stack_get_page.
gtk/gtkstack.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c
index 1d245e7db1..4c6f0423ec 100644
--- a/gtk/gtkstack.c
+++ b/gtk/gtkstack.c
@@ -1638,9 +1638,11 @@ gtk_stack_remove (GtkStack *stack,
* @stack: a `GtkStack`
* @child: a child of @stack
*
- * Returns the `GtkStackPage` object for @child or NULL if @child isn't a `GtkStack` child.
+ * Retrieves the stack page for the given @child.
*
- * Returns: (transfer none) (nullable): the `GtkStackPage` for @child
+ * If the given @child is not a child widget of the stack, this function will return `NULL`.
+ *
+ * Returns: (transfer none) (nullable): the stack page object
*/
GtkStackPage *
gtk_stack_get_page (GtkStack *stack,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]