[libnotify] Fix some annotations
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libnotify] Fix some annotations
- Date: Thu, 18 Nov 2010 05:49:18 +0000 (UTC)
commit 84958a7acb80fcc2d7f1c949c51f35cee7d472c8
Author: Jonathan Matthew <jonathan d14n org>
Date: Thu Nov 18 00:11:29 2010 -0500
Fix some annotations
libnotify/notification.c | 4 ++--
libnotify/notify.c | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/libnotify/notification.c b/libnotify/notification.c
index 7578966..22d068c 100644
--- a/libnotify/notification.c
+++ b/libnotify/notification.c
@@ -937,9 +937,9 @@ notify_notification_clear_actions (NotifyNotification *notification)
* @notification: The notification.
* @action: The action ID.
* @label: The human-readable action label.
- * @callback: The action's callback function.
+ * @callback: (scope async): The action's callback function.
* @user_data: Optional custom data to pass to @callback.
- * @free_func: An optional function to free @user_data when the notification
+ * @free_func: (scope async): An optional function to free @user_data when the notification
* is destroyed.
*
* Adds an action to a notification. When the action is invoked, the
diff --git a/libnotify/notify.c b/libnotify/notify.c
index e4db6f1..1ee0fde 100644
--- a/libnotify/notify.c
+++ b/libnotify/notify.c
@@ -254,7 +254,7 @@ _notify_get_proxy (GError **error)
*
* Synchronously queries the server for its capabilities and returns them in a #GList.
*
- * Returns: (transfer full) (element-type utf-8): a #GList of server capability strings. Free
+ * Returns: (transfer full) (element-type utf8): a #GList of server capability strings. Free
* the list elements with g_free() and the list itself with g_list_free().
*/
GList *
@@ -300,10 +300,10 @@ notify_get_server_caps (void)
/**
* notify_get_server_info:
- * @ret_name: (out) (allow-none): a location to store the server name, or %NULL
- * @ret_vendor: (out) (allow-none): a location to store the server vendor, or %NULL
- * @ret_version: (out) (allow-none): a location to store the server version, or %NULL
- * @ret_spec_version: (out) (allow-none): a location to store the version the service is compliant with, or %NULL
+ * @ret_name: (out) (allow-none) (transfer full): a location to store the server name, or %NULL
+ * @ret_vendor: (out) (allow-none) (transfer full): a location to store the server vendor, or %NULL
+ * @ret_version: (out) (allow-none) (transfer full): a location to store the server version, or %NULL
+ * @ret_spec_version: (out) (allow-none) (transfer full): a location to store the version the service is compliant with, or %NULL
*
* Synchronously queries the server for its information, specifically, the name, vendor,
* server version, and the version of the notifications specification that it
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]