From da7e1f0f5187fcdef2d063bdb038bdbd7c395fd2 Mon Sep 17 00:00:00 2001 From: Logan Rathbone Date: Fri, 17 Feb 2023 16:18:33 -0500 Subject: gi: NotifyNotification fixes --- libnotify/notification.c | 15 --------------- 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. -- cgit v1.2.1