[gtk/gtk-4-4] docs: Fix documentation for gtk_icon_view_create_drag_icon



commit 4e42006d411e63fd6bf662e16ac1c8d6629e949f
Author: Qiu Wenbo <qiuwenbo kylinos com cn>
Date:   Tue Aug 24 00:24:08 2021 +0800

    docs: Fix documentation for gtk_icon_view_create_drag_icon
    
    Fixes: #4190

 gtk/gtkiconview.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index e382d77431..136488b106 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]