Fix some g-i annotation warnings
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 1 May 2018 10:35:32 +0000 (12:35 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 1 May 2018 10:35:32 +0000 (12:35 +0200)
gdk/gdkcairocontext.c
gdk/gdkdnd.c
gtk/gtksnapshot.c

index 5b6deef1f99ecc3350b5ad012a0a7e662457f0e7..d89271f5452650c72268aa1b92579e9a2ceaaeda 100644 (file)
@@ -68,7 +68,7 @@ gdk_cairo_context_init (GdkCairoContext *self)
 
 /**
  * gdk_cairo_context_cairo_create:
- * @context: a #GdkCairoContext that is currently drawing
+ * @self: a #GdkCairoContext that is currently drawing
  *
  * Retrieves a Cairo context to be used to draw on the #GdkSurface
  * of @context. A call to gdk_draw_context_begin_frame() with this
index 7e26eceb763c64fd6b85234158b6f80eaa93edc6..d480ea37376bbb6fd0b8294df1c2e1169ff11864 100644 (file)
@@ -366,7 +366,7 @@ gdk_drag_context_class_init (GdkDragContextClass *klass)
                          G_PARAM_EXPLICIT_NOTIFY);
 
   /**
-   * GdkDragContext:display:
+   * GdkDragContext:device:
    *
    * The #GdkDevice that is performing the drag.
    */
index e8b49d92d3a9bc299fc8aebaeaddcf369700d1ea..10ea6556e5a78d45663b683f96f42cfa95966052 100644 (file)
@@ -1341,12 +1341,12 @@ gtk_snapshot_render_layout (GtkSnapshot     *snapshot,
   gtk_snapshot_offset (snapshot, -x, -y);
 }
 
-/*
+/**
  * gtk_snapshot_append_linear_gradient:
  * @snapshot: a #GtkSnapshot
  * @bounds: the rectangle to render the linear gradient into
- * @start: the point at which the linear gradient will begin
- * @end: the point at which the linear gradient will finish
+ * @start_point: the point at which the linear gradient will begin
+ * @end_point: 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 @stops
  *
@@ -1388,12 +1388,12 @@ gtk_snapshot_append_linear_gradient (GtkSnapshot            *snapshot,
   gsk_render_node_unref (node);
 }
 
-/*
+/**
  * gtk_snapshot_append_repeating_linear_gradient:
  * @snapshot: a #GtkSnapshot
  * @bounds: the rectangle to render the linear gradient into
- * @start: the point at which the linear gradient will begin
- * @end: the point at which the linear gradient will finish
+ * @start_point: the point at which the linear gradient will begin
+ * @end_point: 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 @stops
  *