[libnotify] NotifyNotification: fix annotation for add_action()
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libnotify] NotifyNotification: fix annotation for add_action()
- Date: Tue, 3 Sep 2013 01:42:45 +0000 (UTC)
commit 2b4ab4d22f42dd264a4ddfa68b02bba0d6c71b0b
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sun Jun 16 01:02:06 2013 +0200
NotifyNotification: fix annotation for add_action()
Using GFreeFunc instead of GDestroyNotify was a mistake, but
(scope async) is even a bigger mistake (one that can crash apps,
if an action is invoked multiple times)
https://bugzilla.gnome.org/show_bug.cgi?id=702390
libnotify/notification.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libnotify/notification.c b/libnotify/notification.c
index d9e9283..670930b 100644
--- a/libnotify/notification.c
+++ b/libnotify/notification.c
@@ -1019,9 +1019,9 @@ notify_notification_clear_actions (NotifyNotification *notification)
* @notification: The notification.
* @action: The action ID.
* @label: The human-readable action label.
- * @callback: (scope async): The action's callback function.
- * @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
+ * @callback: The action's callback function.
+ * @user_data: Optional custom data to pass to @callback.
+ * @free_func: (type GLib.DestroyNotify): 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]