mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 09:46:17 +01:00
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:
parent
35e331b869
commit
88ab63155d
@ -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 ()))
|
||||||
|
Loading…
Reference in New Issue
Block a user