[gtk/docs-fixes: 3/3] docs: Add annotations for GtkPaned new getters



commit 58774eea72cfdef84ce718ba82e8abb71d1b26e0
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue May 12 18:52:45 2020 +0100

    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 bb3ad6797f2..b0db80fc5bf 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)
 {


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