From 9863e8c8891de38601f1b19f5c6e3b231c4ed3e0 Mon Sep 17 00:00:00 2001 From: Jcomp Date: Sat, 9 Mar 2024 03:53:38 +0800 Subject: [PATCH] fix libnotify --- src/notifications/dnotify.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/notifications/dnotify.d b/src/notifications/dnotify.d index 1cc09356..bcd96239 100644 --- a/src/notifications/dnotify.d +++ b/src/notifications/dnotify.d @@ -79,11 +79,11 @@ void init(in char[] name) { alias notify_is_initted is_initted; alias notify_uninit uninit; -static this() { +shared static this() { init(__FILE__); } -static ~this() { +shared static ~this() { uninit(); }