From: David Zeuthen Date: Thu, 3 Jan 2013 18:34:21 +0000 (-0500) Subject: In gdbus-auth test, use g_unsetenv(), not g_setenv() with a NULL value X-Git-Tag: 2.35.4~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=101ddfe22f0313c5159bda754697a59b559e7718;p=platform%2Fupstream%2Fglib.git In gdbus-auth test, use g_unsetenv(), not g_setenv() with a NULL value Signed-off-by: David Zeuthen --- diff --git a/gio/tests/gdbus-auth.c b/gio/tests/gdbus-auth.c index fddd4cd..c34b982 100644 --- a/gio/tests/gdbus-auth.c +++ b/gio/tests/gdbus-auth.c @@ -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"); } /* ---------------------------------------------------------------------------------------------------- */