diff --git a/gio/tests/gdbus-sessionbus.c b/gio/tests/gdbus-sessionbus.c index 09d163969..f4dbb4ff9 100644 --- a/gio/tests/gdbus-sessionbus.c +++ b/gio/tests/gdbus-sessionbus.c @@ -71,3 +71,10 @@ session_bus_run (void) return ret; } + +const char * +session_bus_get_address (void) +{ + g_assert (singleton != NULL); + return g_test_dbus_get_bus_address (singleton); +} diff --git a/gio/tests/gdbus-sessionbus.h b/gio/tests/gdbus-sessionbus.h index bd6f2a2ad..9fa80336f 100644 --- a/gio/tests/gdbus-sessionbus.h +++ b/gio/tests/gdbus-sessionbus.h @@ -31,6 +31,7 @@ void session_bus_up (void); void session_bus_stop (void); void session_bus_down (void); gint session_bus_run (void); +const char *session_bus_get_address (void); G_END_DECLS