mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +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);
|
||||
gpointer old;
|
||||
|
||||
old = TlsGetValue (impl, value);
|
||||
old = TlsGetValue (impl);
|
||||
if (old && key->notify)
|
||||
key->notify (old);
|
||||
TlsSetValue (impl, value);
|
||||
|
Loading…
Reference in New Issue
Block a user