mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 07:36:17 +01:00
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
This commit is contained in:
parent
71d3dad3ff
commit
d2fd6dac4a
@ -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().
|
||||
|
Loading…
Reference in New Issue
Block a user