gmain: Note that g_source_destroy() can be called multiple times

https://bugzilla.gnome.org/show_bug.cgi?id=723360
This commit is contained in:
Philip Withnall 2014-01-31 12:16:15 +00:00
parent e1ea008fc8
commit 5d71376763

View File

@ -1249,7 +1249,8 @@ g_source_destroy_internal (GSource *source,
* *
* Removes a source from its #GMainContext, if any, and mark it as * Removes a source from its #GMainContext, if any, and mark it as
* destroyed. The source cannot be subsequently added to another * destroyed. The source cannot be subsequently added to another
* context. * context. It is safe to call this on sources which have already been
* removed from their context.
**/ **/
void void
g_source_destroy (GSource *source) g_source_destroy (GSource *source)