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
This commit is contained in:
Dan Winship 2013-07-18 08:11:35 -04:00 committed by Colin Walters
parent 35e331b869
commit 88ab63155d

View File

@ -104,7 +104,7 @@ test_closure_child (void)
GError *error = NULL; GError *error = NULL;
gchar *argv[3]; 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); g_setenv ("DO_NOT_ACCIDENTALLY_RECURSE", "1", TRUE);
if (g_path_is_absolute (g_get_prgname ())) if (g_path_is_absolute (g_get_prgname ()))