Merge branch 'matthiasc/for-master' into 'master'

dnd: Add some warnings to the docs

See merge request GNOME/gtk!3305
This commit is contained in:
Matthias Clasen 2021-03-16 19:12:05 +00:00
commit ceed7d1ba4

View File

@ -699,6 +699,11 @@ gdk_drop_read_async (GdkDrop *self,
*
* Finishes an async drop read operation.
*
* Note that you must not use blocking read calls on the returned stream
* in the GTK thread, since some platforms might require communication with
* GTK to complete the data transfer. You can use async APIs such as
* g_input_stream_read_bytes_async().
*
* See [method@Gdk.Drop.read_async].
*
* Returns: (nullable) (transfer full): the `GInputStream`, or %NULL