summaryrefslogtreecommitdiff
path: root/src/polkit/polkitsubject.c
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2010-08-09 14:48:10 -0400
committerDavid Zeuthen <davidz@redhat.com>2010-08-09 14:48:10 -0400
commit84a9cd170fecacb8373e3ab2290be8975f59cb57 (patch)
tree3d0ee147833855ce558199739324f03d75597198 /src/polkit/polkitsubject.c
parent7d5eff96c830a9fbd23bd5ef2067d02769fee21b (diff)
downloadpolkit-84a9cd170fecacb8373e3ab2290be8975f59cb57.tar.gz
Update GI annotations
Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'src/polkit/polkitsubject.c')
-rw-r--r--src/polkit/polkitsubject.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/polkit/polkitsubject.c b/src/polkit/polkitsubject.c
index 40ef2e9..19d60b9 100644
--- a/src/polkit/polkitsubject.c
+++ b/src/polkit/polkitsubject.c
@@ -133,7 +133,7 @@ polkit_subject_to_string (PolkitSubject *subject)
/**
* polkit_subject_exists:
* @subject: A #PolkitSubject.
- * @cancellable: A #GCancellable or %NULL.
+ * @cancellable: (allow-none): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied
* @user_data: The data to pass to @callback.
*
@@ -161,7 +161,7 @@ polkit_subject_exists (PolkitSubject *subject,
* polkit_subject_exists_finish:
* @subject: A #PolkitSubject.
* @res: A #GAsyncResult obtained from the #GAsyncReadyCallback passed to polkit_subject_exists().
- * @error: Return location for error or %NULL.
+ * @error: (allow-none): Return location for error or %NULL.
*
* Finishes checking whether a subject exists.
*
@@ -183,8 +183,8 @@ polkit_subject_exists_finish (PolkitSubject *subject,
/**
* polkit_subject_exists_sync:
* @subject: A #PolkitSubject.
- * @cancellable: A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
+ * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @error: (allow-none): Return location for error or %NULL.
*
* Checks if @subject exists.
*
@@ -209,7 +209,7 @@ polkit_subject_exists_sync (PolkitSubject *subject,
/**
* polkit_subject_from_string:
* @str: A string obtained from polkit_subject_to_string().
- * @error: Return location for error.
+ * @error: (allow-none): Return location for error or %NULL.
*
* Creates an object from @str that implements the #PolkitSubject
* interface.