From 75eaf5091c07572f0bac2756821f228d87916df0 Mon Sep 17 00:00:00 2001 From: Mikhail Zabaluev Date: Tue, 6 Oct 2015 01:51:52 +0300 Subject: [PATCH] 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 --- glib/gmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gmain.c b/glib/gmain.c index 9b9010073..f680335cd 100644 --- a/glib/gmain.c +++ b/glib/gmain.c @@ -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. *