Fix some g-i annotation warnings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 1 Apr 2018 07:15:08 +0000 (09:15 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 1 Apr 2018 07:15:08 +0000 (09:15 +0200)
gsk/gskrendernode.h
gtk/gtksnapshot.c

index e7604d6b65dd0b05ce1726c91e49bc1f04aeae98..d4c849208cf38374093e63da4258c09d7b9c558b 100644 (file)
@@ -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
index 98994084cefc5c92bca7a68ed6487967ee0010fd..828f8287990bee43a2046c57710701b5ffe5251c 100644 (file)
@@ -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)