spa: dbus: Minor fix for incorrect documentation

The function does not have a parameter for return an error if getting
the connection fails.
This commit is contained in:
Arun Raghavan 2026-02-17 16:49:30 -08:00
parent 2548fcad25
commit 8b8241d6e3

View file

@ -122,10 +122,9 @@ struct spa_dbus_methods {
* *
* \param dbus the dbus manager * \param dbus the dbus manager
* \param type the bus type to wrap * \param type the bus type to wrap
* \param error location for the DBusError
* \return a new dbus connection wrapper or NULL on error * \return a new dbus connection wrapper or NULL on error
*/ */
struct spa_dbus_connection * (*get_connection) (void *object, struct spa_dbus_connection * (*get_connection) (void *dbus,
enum spa_dbus_type type); enum spa_dbus_type type);
}; };