docs: Fix link to DragIcon.get_for_drag()

It has been marked as a constructor in commit 13013053f7.
This commit is contained in:
Emmanuele Bassi 2024-06-07 13:33:32 +02:00
parent b3d1795327
commit 7d2e2171be

View File

@ -47,7 +47,7 @@
* and is destroyed when the drag ends. * and is destroyed when the drag ends.
* *
* To set up a drag icon and associate it with an ongoing drag operation, * To set up a drag icon and associate it with an ongoing drag operation,
* use [func@Gtk.DragIcon.get_for_drag] to get the icon for a drag. You can * use [ctor@Gtk.DragIcon.get_for_drag] to get the icon for a drag. You can
* then use it like any other widget and use [method@Gtk.DragIcon.set_child] * then use it like any other widget and use [method@Gtk.DragIcon.set_child]
* to set whatever widget should be used for the drag icon. * to set whatever widget should be used for the drag icon.
* *