g_main_context_query(): Annotate @n_fds as (in) parameter

The default is picked up as (out), which is bogus.

https://bugzilla.gnome.org/show_bug.cgi?id=756099
This commit is contained in:
Mikhail Zabaluev 2015-10-06 01:51:52 +03:00
parent 05aafe2cff
commit 75eaf5091c

View File

@ -3519,7 +3519,7 @@ g_main_context_prepare (GMainContext *context,
* @timeout_: (out): location to store timeout to be used in polling
* @fds: (out caller-allocates) (array length=n_fds): location to
* store #GPollFD records that need to be polled.
* @n_fds: length of @fds.
* @n_fds: (in): length of @fds.
*
* Determines information necessary to poll this main loop.
*