Commit 509ced6b authored by Philip Withnall's avatar Philip Withnall

Merge branch 'source-get-id-docs' into 'master'

gmain: Clarify documentation for g_source_get_id()

See merge request !128
parents 80029284 515dac25
Pipeline #17152 passed with stages
in 7 minutes and 9 seconds
......@@ -1296,6 +1296,11 @@ g_source_destroy (GSource *source)
* context. The reverse
* mapping from ID to source is done by g_main_context_find_source_by_id().
* You can only call this function while the source is associated to a
* #GMainContext instance; calling this function before g_source_attach()
* or after g_source_destroy() yields undefined behavior. The ID returned
* is unique within the #GMainContext instance passed to g_source_attach().
* Returns: the ID (greater than 0) for the source
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment