mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 21:16:15 +01:00
Add GI annotation: skip g_cancellable_source_new().
It is not bindable, because GSource is not boxed and thus cannot be returned as caller-owned.
This commit is contained in:
parent
53364788e9
commit
929e8db9f4
@ -288,7 +288,7 @@ g_cancellable_new (void)
|
|||||||
* @cancellable: a #GCancellable object
|
* @cancellable: a #GCancellable object
|
||||||
*
|
*
|
||||||
* Pushes @cancellable onto the cancellable stack. The current
|
* Pushes @cancellable onto the cancellable stack. The current
|
||||||
* cancllable can then be recieved using g_cancellable_get_current().
|
* cancellable can then be recieved using g_cancellable_get_current().
|
||||||
*
|
*
|
||||||
* This is useful when implementing cancellable operations in
|
* This is useful when implementing cancellable operations in
|
||||||
* code that does not allow you to pass down the cancellable object.
|
* code that does not allow you to pass down the cancellable object.
|
||||||
@ -852,7 +852,7 @@ static GSourceFuncs cancellable_source_funcs =
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* g_cancellable_source_new:
|
* g_cancellable_source_new: (skip)
|
||||||
* @cancellable: a #GCancellable, or %NULL
|
* @cancellable: a #GCancellable, or %NULL
|
||||||
*
|
*
|
||||||
* Creates a source that triggers if @cancellable is cancelled and
|
* Creates a source that triggers if @cancellable is cancelled and
|
||||||
@ -863,7 +863,7 @@ static GSourceFuncs cancellable_source_funcs =
|
|||||||
* For convenience, you can call this with a %NULL #GCancellable,
|
* For convenience, you can call this with a %NULL #GCancellable,
|
||||||
* in which case the source will never trigger.
|
* in which case the source will never trigger.
|
||||||
*
|
*
|
||||||
* Return value: the new #GSource.
|
* Return value: (transfer full): the new #GSource.
|
||||||
*
|
*
|
||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user