summaryrefslogtreecommitdiff
path: root/gdbus
diff options
context:
space:
mode:
Diffstat (limited to 'gdbus')
-rw-r--r--gdbus/gdbus.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h
index e2e160df..0a8a27c5 100644
--- a/gdbus/gdbus.h
+++ b/gdbus/gdbus.h
@@ -144,6 +144,13 @@ typedef struct {
.function = _function, \
.flags = G_DBUS_METHOD_FLAG_ASYNC | G_DBUS_METHOD_FLAG_DEPRECATED
+#define GDBUS_NOREPLY_METHOD(_name, _in_args, _out_args, _function) \
+ .name = _name, \
+ .in_args = _in_args, \
+ .out_args = _out_args, \
+ .function = _function, \
+ .flags = G_DBUS_METHOD_FLAG_NOREPLY
+
#define GDBUS_SIGNAL(_name, _args) \
.name = _name, \
.args = _args