[glib] win32: fix GPrivate fallout



commit 6f711518230cbb2e09c56a7853e191eb6269faef
Author: Ryan Lortie <desrt desrt ca>
Date:   Sun Oct 2 21:13:14 2011 -0400

    win32: fix GPrivate fallout
    
    Fix minor mistake in win32 GPrivate code.

 glib/gthread-win32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gthread-win32.c b/glib/gthread-win32.c
index 1ed2842..20d2e21 100644
--- a/glib/gthread-win32.c
+++ b/glib/gthread-win32.c
@@ -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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]