Commit 3ec4b0f0 authored by Ralf Habacker's avatar Ralf Habacker

2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>

	* dbus/dbus-sysdeps-win-thread.c (_dbus_condvar_wait_win32):
	correctness fix. - Patch from Christian Ehrlicher
parent b88d6bad
2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>
* dbus/dbus-sysdeps-win-thread.c (_dbus_condvar_wait_win32):
correctness fix. - Patch from Christian Ehrlicher
2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>
* dbus/dbus-internals.h: msvc also knows about __FUNCTION__,
......
......@@ -24,6 +24,7 @@
#include "dbus-internals.h"
#include "dbus-sysdeps.h"
#include "dbus-threads.h"
#include "dbus-list.h"
#include <windows.h>
......@@ -172,7 +173,7 @@ _dbus_condvar_wait_win32 (DBusCondVar *cond,
EnterCriticalSection (&cond->lock);
/* Now event must not be inside the array, check this */
_dbus_assert (_dbus_list_remove (cond->list, event) == FALSE);
_dbus_assert (_dbus_list_remove (&cond->list, event) == FALSE);
LeaveCriticalSection (&cond->lock);
#endif /* !G_DISABLE_ASSERT */
......@@ -241,7 +242,7 @@ static const DBusThreadFunctions windows_functions =
_dbus_windows_condvar_wake_all
};
void
dbus_bool_t
_dbus_threads_init_platform_specific (void)
{
/* We reuse this over several generations, because we can't
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment