From: Rico Tzschichholz Date: Sun, 1 Apr 2018 07:15:08 +0000 (+0200) Subject: Fix some g-i annotation warnings X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~22^2~700 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f2937f8c453b58fd91c3f35b152dd736f4a3edf2;p=gtk4.git Fix some g-i annotation warnings --- diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h index e7604d6b65..d4c849208c 100644 --- a/gsk/gskrendernode.h +++ b/gsk/gskrendernode.h @@ -202,8 +202,8 @@ const graphene_matrix_t * GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_offset_node_new (GskRenderNode *child, - double x, - double y); + double x_offset, + double y_offset); GDK_AVAILABLE_IN_ALL GskRenderNode * gsk_offset_node_get_child (GskRenderNode *node); GDK_AVAILABLE_IN_ALL diff --git a/gtk/gtksnapshot.c b/gtk/gtksnapshot.c index 98994084ce..828f828799 100644 --- a/gtk/gtksnapshot.c +++ b/gtk/gtksnapshot.c @@ -210,7 +210,7 @@ gtk_snapshot_new (gboolean record_names, * Returns the node that was constructed by @snapshot * and frees @snapshot. * - * Returns: a newly-created #GskRenderNode + * Returns: (transfer full): a newly-created #GskRenderNode */ GskRenderNode * gtk_snapshot_free_to_node (GtkSnapshot *snapshot) @@ -230,7 +230,7 @@ gtk_snapshot_free_to_node (GtkSnapshot *snapshot) * Returns a paintable for the node that was * constructed by @snapshot and frees @snapshot. * - * Returns: a newly-created #GdkPaintable + * Returns: (transfer full): a newly-created #GdkPaintable */ GdkPaintable * gtk_snapshot_free_to_paintable (GtkSnapshot *snapshot) @@ -1293,7 +1293,7 @@ gtk_snapshot_to_node (GtkSnapshot *snapshot) * nodes to @snapshot. The only function that should be * called after this is gtk_snapshot_unref(). * - * Returns: a new #GdkPaintable + * Returns: (transfer full): a new #GdkPaintable */ GdkPaintable * gtk_snapshot_to_paintable (GtkSnapshot *snapshot)