From 479e85aca3dfc60f92f3d98ec82a5d58607e24db Mon Sep 17 00:00:00 2001 From: Aylur Date: Tue, 29 Oct 2024 18:10:07 +0000 Subject: fixup(notifd): make dismissed signal internal its used only internally, the resolved signal is meant to be the public api --- lib/notifd/notification.vala | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'lib/notifd/notification.vala') diff --git a/lib/notifd/notification.vala b/lib/notifd/notification.vala index 527a352..29c6c56 100644 --- a/lib/notifd/notification.vala +++ b/lib/notifd/notification.vala @@ -158,12 +158,6 @@ public class AstalNotifd.Notification : Object { */ public signal void resolved(ClosedReason reason); - /** - * Emitted when the user dismisses this notification. - * - * @see dismiss - */ - public signal void dismissed(); /** * Emitted when an [struct@AstalNotifd.Action] of this notification is invoked. @@ -173,12 +167,10 @@ public class AstalNotifd.Notification : Object { public signal void invoked(string action_id); /** - * Dismiss this notification popup - * - * This method doesn't have any functionality on its own, but should be handled - * by frontend implementation to hide notification popups. + * Resolve this notification with [enum@AstalNotifd.ClosedReason.DISMISSED_BY_USER]. */ public void dismiss() { dismissed(); } + internal signal void dismissed(); /** * Invoke an [struct@AstalNotifd.Action] of this notification. -- cgit v1.2.3