g_test_dbus_unset() now also unset DBUS_STARTER_ADDRESS and
DBUS_STARTER_BUS_TYPE.
https://bugzilla.gnome.org/show_bug.cgi?id=697348
start_daemon (self);
+ g_test_dbus_unset ();
g_setenv ("DBUS_SESSION_BUS_ADDRESS", self->priv->bus_address, TRUE);
self->priv->up = TRUE;
}
if (connection != NULL)
_g_object_unref_and_wait_weak_notify (connection);
- g_unsetenv ("DBUS_SESSION_BUS_ADDRESS");
+ g_test_dbus_unset ();
self->priv->up = FALSE;
}
{
g_unsetenv ("DISPLAY");
g_unsetenv ("DBUS_SESSION_BUS_ADDRESS");
+ g_unsetenv ("DBUS_STARTER_ADDRESS");
+ g_unsetenv ("DBUS_STARTER_BUS_TYPE");
}