diff --git a/man/rules/meson.build b/man/rules/meson.build
index 6f14918821..26ac2fcf24 100644
--- a/man/rules/meson.build
+++ b/man/rules/meson.build
@@ -292,7 +292,10 @@ manpages = [
''],
['sd_bus_set_sender', '3', ['sd_bus_get_sender'], ''],
['sd_bus_set_watch_bind', '3', ['sd_bus_get_watch_bind'], ''],
- ['sd_bus_slot_ref', '3', ['sd_bus_slot_unref', 'sd_bus_slot_unrefp'], ''],
+ ['sd_bus_slot_ref',
+ '3',
+ ['sd_bus_slot_get_bus', 'sd_bus_slot_unref', 'sd_bus_slot_unrefp'],
+ ''],
['sd_bus_slot_set_description', '3', ['sd_bus_slot_get_description'], ''],
['sd_bus_slot_set_destroy_callback',
'3',
diff --git a/man/sd_bus_slot_ref.xml b/man/sd_bus_slot_ref.xml
index 3e3322003e..c5f050635d 100644
--- a/man/sd_bus_slot_ref.xml
+++ b/man/sd_bus_slot_ref.xml
@@ -18,6 +18,7 @@
sd_bus_slot_ref
sd_bus_slot_unref
sd_bus_slot_unrefp
+ sd_bus_slot_get_bus
Create and destroy references to a bus slot object
@@ -40,6 +41,11 @@
void sd_bus_slot_unrefp
sd_bus_slot **slotp
+
+
+ sd_bus *sd_bus_slot_get_bus
+ sd_bus_slot *m
+
@@ -68,6 +74,9 @@
its argument, which must not be NULL, and will execute no operation if
that is NULL.
+
+ sd_bus_slot_get_bus() returns the bus object that message
+ slot is attached to.
@@ -76,6 +85,8 @@
sd_bus_slot_ref() always returns the argument.
sd_bus_slot_unref() always returns NULL.
+
+ sd_bus_slot_get_bus() always returns the bus object.