From 88ab63155de12a995c53711c65cc25026912171e Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 18 Jul 2013 08:11:35 -0400 Subject: [PATCH] gobject/tests/closure: fix on win32 (The g_closure_unref() was wrong, but was not causing errors on linux for some reason.) https://bugzilla.gnome.org/show_bug.cgi?id=704447 --- gobject/tests/closure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/tests/closure.c b/gobject/tests/closure.c index 78392ba38..8ecb058df 100644 --- a/gobject/tests/closure.c +++ b/gobject/tests/closure.c @@ -104,7 +104,7 @@ test_closure_child (void) GError *error = NULL; gchar *argv[3]; - g_assert (getenv ("DO_NOT_ACCIDENTALLY_RECURSE") == NULL); + g_assert (g_getenv ("DO_NOT_ACCIDENTALLY_RECURSE") == NULL); g_setenv ("DO_NOT_ACCIDENTALLY_RECURSE", "1", TRUE); if (g_path_is_absolute (g_get_prgname ()))