mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
Merge branch 'source-destroy-docs' into 'master'
gmain: Clarify that g_source_destroy() doesn’t drop a reference See merge request GNOME/glib!901
This commit is contained in:
commit
943de74113
@ -1266,7 +1266,10 @@ g_source_destroy_internal (GSource *source,
|
||||
* destroyed. The source cannot be subsequently added to another
|
||||
* context. It is safe to call this on sources which have already been
|
||||
* removed from their context.
|
||||
**/
|
||||
*
|
||||
* This does not unref the #GSource: if you still hold a reference, use
|
||||
* g_source_unref() to drop it.
|
||||
*/
|
||||
void
|
||||
g_source_destroy (GSource *source)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user