From 58774eea72cfdef84ce718ba82e8abb71d1b26e0 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 12 May 2020 18:52:45 +0100 Subject: [PATCH] docs: Add annotations for GtkPaned new getters Which means also adding gtk-doc stanzas. --- gtk/gtkpaned.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c index bb3ad6797f..b0db80fc5b 100644 --- a/gtk/gtkpaned.c +++ b/gtk/gtkpaned.c @@ -1600,6 +1600,16 @@ gtk_paned_set_start_child (GtkPaned *paned, g_object_notify (G_OBJECT (paned), "start-child"); } +/** + * gtk_paned_get_start_child: + * @paned: a #GtkPaned + * + * Retrieves the start child of the given #GdkPaned. + * + * See also: #GtkPaned::start-child + * + * Returns: (transfer none) (nullable): the start child widget + */ GtkWidget * gtk_paned_get_start_child (GtkPaned *paned) { @@ -1662,6 +1672,16 @@ gtk_paned_get_shrink_start_child (GtkPaned *paned) return priv->shrink_start_child; } +/** + * gtk_paned_get_end_child: + * @paned: a #GtkPaned + * + * Retrieves the end child of the given #GdkPaned. + * + * See also: #GtkPaned::end-child + * + * Returns: (transfer none) (nullable): the end child widget + */ void gtk_paned_set_end_child (GtkPaned *paned, GtkWidget *child) @@ -1682,6 +1702,7 @@ gtk_paned_set_end_child (GtkPaned *paned, g_object_notify (G_OBJECT (paned), "end-child"); } + GtkWidget * gtk_paned_get_end_child (GtkPaned *paned) {