[glib] Use g_unsetenv, not unsetenv
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Use g_unsetenv, not unsetenv
- Date: Tue, 20 Mar 2012 09:21:26 +0000 (UTC)
commit d0635dac52b4a4dae535dd22940ed2adb6a89074
Author: Alexander Larsson <alexl redhat com>
Date: Tue Mar 20 10:19:42 2012 +0100
Use g_unsetenv, not unsetenv
This fixed the win32 build
glib/tests/logging.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/tests/logging.c b/glib/tests/logging.c
index 8a6fe16..89005a8 100644
--- a/glib/tests/logging.c
+++ b/glib/tests/logging.c
@@ -261,7 +261,7 @@ bug653052 (void)
int
main (int argc, char *argv[])
{
- unsetenv ("G_MESSAGES_DEBUG");
+ g_unsetenv ("G_MESSAGES_DEBUG");
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugzilla.gnome.org/");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]