Skip to content

gmain: Clarify that g_source_set_callback() is safe on attached sources

Philip Withnall requested to merge pwithnall/glib:827-main-context-docs into master

g_source_set_callback() and g_source_set_callback_indirect() are both safe to call zero or more times on attached sources. The change in callback will take effect the next time the source is dispatched, after the set_callback() call returns (it could block due to locking).

#827 (closed)

Closes #827 (closed)

Merge request reports