diff options
author | Logan Rathbone <poprocks@gmail.com> | 2023-02-17 16:18:33 -0500 |
---|---|---|
committer | Logan Rathbone <poprocks@gmail.com> | 2023-02-17 16:19:08 -0500 |
commit | da7e1f0f5187fcdef2d063bdb038bdbd7c395fd2 (patch) | |
tree | ca232104dba88cafb49f2454b13453207a3500f5 | |
parent | 06f401c4d8ac9b4bd353ca3e12110e137ab34da8 (diff) | |
download | libnotify-da7e1f0f5187fcdef2d063bdb038bdbd7c395fd2.tar.gz |
gi: NotifyNotification fixes
-rw-r--r-- | libnotify/notification.c | 15 | ||||
-rw-r--r-- | libnotify/notification.h | 9 |
2 files changed, 8 insertions, 16 deletions
diff --git a/libnotify/notification.c b/libnotify/notification.c index ec4254b..697dc81 100644 --- a/libnotify/notification.c +++ b/libnotify/notification.c @@ -28,21 +28,6 @@ #include "notify.h" #include "internal.h" - -/** - * NotifyNotification: - * - * A passive pop-up notification. - * - * #NotifyNotification represents a passive pop-up notification. It can - * contain summary text, body text, and an icon, as well as hints specifying - * how the notification should be presented. The notification is rendered - * by a notification daemon, and may present the notification in any number - * of ways. As such, there is a clear separation of content and presentation, - * and this API enforces that. - */ - - #if !defined(G_PARAM_STATIC_NAME) && !defined(G_PARAM_STATIC_NICK) && \ !defined(G_PARAM_STATIC_BLURB) # define G_PARAM_STATIC_NAME 0 diff --git a/libnotify/notification.h b/libnotify/notification.h index 6e2ea4d..e1135b5 100644 --- a/libnotify/notification.h +++ b/libnotify/notification.h @@ -60,6 +60,13 @@ typedef struct _NotifyNotificationPrivate NotifyNotificationPrivate; * NotifyNotification: * * A passive pop-up notification. + * + * #NotifyNotification represents a passive pop-up notification. It can + * contain summary text, body text, and an icon, as well as hints specifying + * how the notification should be presented. The notification is rendered + * by a notification daemon, and may present the notification in any number + * of ways. As such, there is a clear separation of content and presentation, + * and this API enforces that. */ struct _NotifyNotification { @@ -101,7 +108,7 @@ typedef enum * @NOTIFY_CLOSED_REASON_EXPIRED: Timeout has expired. * @NOTIFY_CLOSED_REASON_DISMISSED: It has been dismissed by the user. * @NOTIFY_CLOSED_REASON_API_REQUEST: It has been closed by a call to - * [method@Notify.close]. + * [method@NotifyNotification.close]. * @NOTIFY_CLOSED_REASON_UNDEFIEND: Closed by undefined/reserved reasons. * * The reason for which the notification has been closed. |