projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1ea008
)
gmain: Note that g_source_destroy() can be called multiple times
author
Philip Withnall
<philip.withnall@collabora.co.uk>
Fri, 31 Jan 2014 12:16:15 +0000
(12:16 +0000)
committer
Philip Withnall
<philip.withnall@collabora.co.uk>
Mon, 3 Feb 2014 07:55:44 +0000
(07:55 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=723360
glib/gmain.c
patch
|
blob
|
history
diff --git
a/glib/gmain.c
b/glib/gmain.c
index
8fd961b
..
5606ccc
100644
(file)
--- 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)