From 5d71376763744c26005e918d21f3bd26d884388e Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 31 Jan 2014 12:16:15 +0000 Subject: [PATCH] gmain: Note that g_source_destroy() can be called multiple times https://bugzilla.gnome.org/show_bug.cgi?id=723360 --- glib/gmain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glib/gmain.c b/glib/gmain.c index 8fd961bc0..5606cccba 100644 --- a/glib/gmain.c +++ b/glib/gmain.c @@ -1249,7 +1249,8 @@ g_source_destroy_internal (GSource *source, * * Removes a source from its #GMainContext, if any, and mark it as * 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 g_source_destroy (GSource *source)