mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-16 07:03:34 +02:00
win32: fix GPrivate fallout
Fix minor mistake in win32 GPrivate code.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user