[libnotify] Some more missing GIR annocations
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libnotify] Some more missing GIR annocations
- Date: Thu, 18 Nov 2010 13:16:57 +0000 (UTC)
commit d3de00c14e5ee3897921ad78f6e15575f6167213
Author: Martin Pitt <martin pitt ubuntu com>
Date: Thu Nov 18 14:05:48 2010 +0100
Some more missing GIR annocations
https://bugzilla.gnome.org/show_bug.cgi?id=635169
libnotify/notification.c | 12 ++++++------
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]