From b1cb64d71643fa2d5670ef2181989ad30be8bab4 Mon Sep 17 00:00:00 2001 From: mjk Date: Sat, 20 Mar 2021 00:05:55 +0000 Subject: [PATCH] add nullary version of g_try_invoke macro --- plugins/windows-notification/api/include/ginvoke.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/windows-notification/api/include/ginvoke.hpp b/plugins/windows-notification/api/include/ginvoke.hpp index 3d1375aa..d269ea44 100644 --- a/plugins/windows-notification/api/include/ginvoke.hpp +++ b/plugins/windows-notification/api/include/ginvoke.hpp @@ -133,5 +133,6 @@ catch (...) #define g_try_invoke(invokable, ...) glib::try_invoke(#invokable, invokable, __VA_ARGS__) +#define g_try_invoke0(invokable) glib::try_invoke(#invokable, invokable) #endif