win32: fix GPrivate fallout

Fix minor mistake in win32 GPrivate code.
This commit is contained in:
Ryan Lortie 2011-10-02 21:13:14 -04:00
parent cdd43d43c9
commit 6f71151823

View File

@ -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);