Method

GioTestDBusget_bus_address

Declaration

const gchar*
g_test_dbus_get_bus_address (
  GTestDBus* self
)

Description

Get the address on which dbus-daemon is running. If g_test_dbus_up() has not been called yet, NULL is returned. This can be used with g_dbus_connection_new_for_address().

Return value

Type: const gchar*

The address of the bus, or NULL.

The data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.