From 929e8db9f436f0644a300c7253c9452145cbb7db Mon Sep 17 00:00:00 2001 From: Pavel Holejsovsky Date: Wed, 29 Dec 2010 16:21:22 +0100 Subject: [PATCH] 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. --- gio/gcancellable.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gio/gcancellable.c b/gio/gcancellable.c index 65e15bc..c37baff 100644 --- a/gio/gcancellable.c +++ b/gio/gcancellable.c @@ -288,7 +288,7 @@ g_cancellable_new (void) * @cancellable: a #GCancellable object * * 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 * 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 * * 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, * in which case the source will never trigger. * - * Return value: the new #GSource. + * Return value: (transfer full): the new #GSource. * * Since: 2.28 */ -- 2.7.4