[glib] Add GI annotation: skip g_cancellable_source_new().
- From: Pavel Holejsovsky <pholejs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Add GI annotation: skip g_cancellable_source_new().
- Date: Wed, 29 Dec 2010 15:22:01 +0000 (UTC)
commit 929e8db9f436f0644a300c7253c9452145cbb7db
Author: Pavel Holejsovsky <pholejs src gnome org>
Date: Wed Dec 29 16:21:22 2010 +0100
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 files 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
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]