win32: fix GPrivate fallout
authorRyan Lortie <desrt@desrt.ca>
Mon, 3 Oct 2011 01:13:14 +0000 (21:13 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 3 Oct 2011 01:31:45 +0000 (21:31 -0400)
Fix minor mistake in win32 GPrivate code.

glib/gthread-win32.c

index 1ed2842..20d2e21 100644 (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);