Clarify the g_application_withdraw_notification docs
authorMatthias Clasen <mclasen@redhat.com>
Mon, 21 Oct 2013 22:46:48 +0000 (18:46 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 21 Oct 2013 22:46:48 +0000 (18:46 -0400)
Mention that notifications are dismissed when activated.

gio/gapplication.c

index d3132e1..0098281 100644 (file)
@@ -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