docs: Fix documentation for gtk_icon_view_create_drag_icon
authorQiu Wenbo <qiuwenbo@kylinos.com.cn>
Mon, 23 Aug 2021 16:24:08 +0000 (00:24 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 Oct 2021 21:52:04 +0000 (17:52 -0400)
Fixes: #4190
gtk/gtkiconview.c

index e382d7743149fbfa6d88ba97ad4e2e1c78b3bf4b..136488b106534ef61ca1b8949933192dc258924a 100644 (file)
@@ -6516,10 +6516,10 @@ gtk_icon_view_get_dest_item_at_pos (GtkIconView              *icon_view,
  * @icon_view: a `GtkIconView`
  * @path: a `GtkTreePath` in @icon_view
  *
- * Creates a `cairo_surface_t` representation of the item at @path.  
+ * Creates a `GdkPaintable` representation of the item at @path.
  * This image is used for a drag icon.
  *
- * Returns: (transfer full): a newly-allocated surface of the drag icon.
+ * Returns: (transfer full): a newly-allocated `GdkPaintable` of the drag icon.
  **/
 GdkPaintable *
 gtk_icon_view_create_drag_icon (GtkIconView *icon_view,