[glib] Clarify the g_application_withdraw_notification docs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Clarify the g_application_withdraw_notification docs
- Date: Mon, 21 Oct 2013 22:47:19 +0000 (UTC)
commit a7bd6c47db8330fa0b88201ff4d9abf72fb10ef5
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Oct 21 18:46:48 2013 -0400
Clarify the g_application_withdraw_notification docs
Mention that notifications are dismissed when activated.
gio/gapplication.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gio/gapplication.c b/gio/gapplication.c
index d3132e1..0098281 100644
--- a/gio/gapplication.c
+++ b/gio/gapplication.c
@@ -2005,6 +2005,10 @@ g_application_send_notification (GApplication *application,
* executions of this application, as long @id is the same as it was for
* the sent notification.
*
+ * Note that notifications are dismissed when the user clicks on one
+ * of the buttons in a notification or triggers its default action, so
+ * there is no need to explicitly withdraw the notification in that case.
+ *
* Since: 2.40
*/
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]