mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 08:16:24 +01:00
win32: fix GPrivate fallout
Fix minor mistake in win32 GPrivate code.
This commit is contained in:
parent
cdd43d43c9
commit
6f71151823
@ -436,7 +436,7 @@ g_private_replace (GPrivate *key,
|
|||||||
DWORD impl = g_private_get_impl (key);
|
DWORD impl = g_private_get_impl (key);
|
||||||
gpointer old;
|
gpointer old;
|
||||||
|
|
||||||
old = TlsGetValue (impl, value);
|
old = TlsGetValue (impl);
|
||||||
if (old && key->notify)
|
if (old && key->notify)
|
||||||
key->notify (old);
|
key->notify (old);
|
||||||
TlsSetValue (impl, value);
|
TlsSetValue (impl, value);
|
||||||
|
Loading…
Reference in New Issue
Block a user