summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Matthew <jonathan@d14n.org>2010-11-18 00:11:29 -0500
committerWilliam Jon McCann <jmccann@redhat.com>2010-11-18 00:11:29 -0500
commit84958a7acb80fcc2d7f1c949c51f35cee7d472c8 (patch)
treea03cb0dfe6a4ac6469c48f4b6b0739b3ab9d9609
parent5e9614637d0868e4478603f16afc83fbd7b30d49 (diff)
downloadlibnotify-84958a7acb80fcc2d7f1c949c51f35cee7d472c8.tar.gz
Fix some annotations
-rw-r--r--libnotify/notification.c4
-rw-r--r--libnotify/notify.c10
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