From 4171fba2fe72c182f82dd097b2a211d9b1a786ce Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 10 Jun 2023 08:04:49 -0400 Subject: [PATCH] gapplication: Clarify docs D-Bus does not support maybe types, therefore using such types are action parameters in GApplication does not work. Fixes: #3027 --- gio/gapplication.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gio/gapplication.c b/gio/gapplication.c index c52f94cba..ce8f6e8b3 100644 --- a/gio/gapplication.c +++ b/gio/gapplication.c @@ -117,6 +117,10 @@ * conveniently access them remotely. GIO provides a #GDBusMenuModel wrapper * for remote access to exported #GMenuModels. * + * Note: Due to the fact that actions are exported on the session bus, + * using `maybe` parameters is not supported, since D-Bus does not support + * `maybe` types. + * * There is a number of different entry points into a GApplication: * * - via 'Activate' (i.e. just starting the application)