Issue #3087: error compiling for Windows.
s/THREAD_MODE_ABOVE_NORMAL/THREAD_PRIORITY_ABOVE_NORMAL/ Thanks to Sylvie Alexandre for noticing and searching this.
This commit is contained in:
@ -218,7 +218,7 @@ gimp_parallel_run_async_independent_full (gint priority,
|
|||||||
#if defined (G_OS_WIN32)
|
#if defined (G_OS_WIN32)
|
||||||
if (task->priority < 0)
|
if (task->priority < 0)
|
||||||
{
|
{
|
||||||
SetThreadPriority (GetCurrentThread (), THREAD_MODE_ABOVE_NORMAL);
|
SetThreadPriority (GetCurrentThread (), THREAD_PRIORITY_ABOVE_NORMAL);
|
||||||
}
|
}
|
||||||
else if (task->priority > 0)
|
else if (task->priority > 0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user