mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
In gdbus-auth test, use g_unsetenv(), not g_setenv() with a NULL value
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
This commit is contained in:
parent
361fe28fb9
commit
101ddfe22f
@ -273,8 +273,8 @@ temp_dbus_keyrings_teardown (void)
|
||||
g_assert (rmdir (temp_dbus_keyrings_dir) == 0);
|
||||
|
||||
temp_dbus_keyrings_dir = NULL;
|
||||
g_setenv ("G_DBUS_COOKIE_SHA1_KEYRING_DIR", NULL, TRUE);
|
||||
g_setenv ("G_DBUS_COOKIE_SHA1_KEYRING_DIR_IGNORE_PERMISSION", NULL, TRUE);
|
||||
g_unsetenv ("G_DBUS_COOKIE_SHA1_KEYRING_DIR");
|
||||
g_unsetenv ("G_DBUS_COOKIE_SHA1_KEYRING_DIR_IGNORE_PERMISSION");
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user