[gtk/child-properties-be-gone: 1/12] grid: Annotate out args as optional



commit b14f0b89873af90533a64848a7f1c763087f374a
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Apr 5 11:59:24 2019 +0000

    grid: Annotate out args as optional
    
    They are optional, so annotate them as such.

 gtk/gtkgrid.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkgrid.c b/gtk/gtkgrid.c
index ce67b00609..fdc3bec99e 100644
--- a/gtk/gtkgrid.c
+++ b/gtk/gtkgrid.c
@@ -1080,10 +1080,10 @@ gtk_grid_get_baseline_row (GtkGrid *grid)
  * gtk_grid_query_child:
  * @grid: a #GtkGrid
  * @child: a #GtkWidget child of @grid
- * @left: (out): the column used to attach the left side of @child
- * @top: (out): the row used to attach the top side of @child
- * @width: (out): the number of columns @child spans
- * @height: (out): the number of rows @child spans
+ * @left: (out) (optional): the column used to attach the left side of @child
+ * @top: (out) (optional): the row used to attach the top side of @child
+ * @width: (out) (optional): the number of columns @child spans
+ * @height: (out) (optiona): the number of rows @child spans
  *
  * Queries the attach points and spans of @child inside the given #GtkGrid.
  */


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