diff --git a/glib/gthread-win32.c b/glib/gthread-win32.c index 1ed2842f7..20d2e21f2 100644 --- a/glib/gthread-win32.c +++ b/glib/gthread-win32.c @@ -436,7 +436,7 @@ g_private_replace (GPrivate *key, DWORD impl = g_private_get_impl (key); gpointer old; - old = TlsGetValue (impl, value); + old = TlsGetValue (impl); if (old && key->notify) key->notify (old); TlsSetValue (impl, value);