[glib] GMain: allow NULL context to g_source_attach
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GMain: allow NULL context to g_source_attach
- Date: Fri, 18 Nov 2011 14:22:25 +0000 (UTC)
commit d2fd6dac4a794211eb2c1b034f67d6bcfc348b20
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Thu Nov 17 22:30:29 2011 +0100
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 files changed, 1 insertions(+), 1 deletions(-)
---
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().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]