summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-11-18 14:05:48 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2010-11-18 14:05:48 +0100
commitd3de00c14e5ee3897921ad78f6e15575f6167213 (patch)
tree6f33484aec7ba2361236173f50418d1b7c9f5b38
parent2b6e827092413c8c393e4f857ff6e692375e1ad6 (diff)
downloadlibnotify-d3de00c14e5ee3897921ad78f6e15575f6167213.tar.gz
Some more missing GIR annocations
https://bugzilla.gnome.org/show_bug.cgi?id=635169
-rw-r--r--libnotify/notification.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libnotify/notification.c b/libnotify/notification.c
index 22d068c..3478f90 100644
--- a/libnotify/notification.c
+++ b/libnotify/notification.c
@@ -369,8 +369,8 @@ notify_notification_finalize (GObject *object)
/**
* notify_notification_new:
* @summary: The required summary text.
- * @body: The optional body text.
- * @icon: The optional icon theme icon name or filename.
+ * @body: (allow-none): The optional body text.
+ * @icon: (allow-none): The optional icon theme icon name or filename.
*
* Creates a new #NotifyNotification. The summary text is required, but
* all other parameters are optional.
@@ -393,8 +393,8 @@ notify_notification_new (const char *summary,
* notify_notification_update:
* @notification: The notification to update.
* @summary: The new required summary text.
- * @body: The optional body text.
- * @icon: The optional icon theme icon name or filename.
+ * @body: (allow-none): The optional body text.
+ * @icon: (allow-none): The optional icon theme icon name or filename.
*
* Updates the notification text and icon. This won't send the update out
* and display it on the screen. For that, you will need to call
@@ -938,8 +938,8 @@ notify_notification_clear_actions (NotifyNotification *notification)
* @action: The action ID.
* @label: The human-readable action label.
* @callback: (scope async): The action's callback function.
- * @user_data: Optional custom data to pass to @callback.
- * @free_func: (scope async): An optional function to free @user_data when the notification
+ * @user_data: (allow-none): Optional custom data to pass to @callback.
+ * @free_func: (scope async) (allow-none): An optional function to free @user_data when the notification
* is destroyed.
*
* Adds an action to a notification. When the action is invoked, the