snapshot: Fix some documentation problems
authorTimm Bäder <mail@baedert.org>
Fri, 20 Apr 2018 18:35:00 +0000 (20:35 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 21 Apr 2018 08:06:57 +0000 (10:06 +0200)
gtk/gtksnapshot.c

index 77ada0f48409fbfac86481456d6da0d40af960da..712c7cb7e36337b52625116f87b6483f10bbabda 100644 (file)
@@ -1695,7 +1695,7 @@ gtk_snapshot_render_layout (GtkSnapshot     *snapshot,
  * @start: the point at which the linear gradient will begin
  * @end: the point at which the linear gradient will finish
  * @stops: (array length=n_stops): a pointer to an array of #GskColorStop defining the gradient
- * @n_stops: the number of elements in @color_stops
+ * @n_stops: the number of elements in @stops
  *
  * Appends a linear gradient node with the given stops to @snapshot.
  */
@@ -1758,7 +1758,7 @@ gtk_snapshot_append_linear_gradient (GtkSnapshot            *snapshot,
  * @start: the point at which the linear gradient will begin
  * @end: the point at which the linear gradient will finish
  * @stops: (array length=n_stops): a pointer to an array of #GskColorStop defining the gradient
- * @n_stops: the number of elements in @color_stops
+ * @n_stops: the number of elements in @stops
  *
  * Appends a repeating linear gradient node with the given stops to @snapshot.
  */