From d2fd6dac4a794211eb2c1b034f67d6bcfc348b20 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Thu, 17 Nov 2011 22:30:29 +0100 Subject: [PATCH] GMain: allow NULL context to g_source_attach Documentation says it's fine and means default context, but the annotations are missing (and thus bindings would complain). https://bugzilla.gnome.org/show_bug.cgi?id=664302 --- glib/gmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gmain.c b/glib/gmain.c index a4f33e5..90269bb 100644 --- a/glib/gmain.c +++ b/glib/gmain.c @@ -889,7 +889,7 @@ g_source_attach_unlocked (GSource *source, /** * g_source_attach: * @source: a #GSource - * @context: a #GMainContext (if %NULL, the default context will be used) + * @context: (allow-none): a #GMainContext (if %NULL, the default context will be used) * * Adds a #GSource to a @context so that it will be executed within * that context. Remove it by calling g_source_destroy(). -- 2.7.4