fix if statement in BatchQueueEntryUpdater::process

This commit is contained in:
Andrey Skvortsov
2010-09-18 22:40:29 -07:00
parent faa3c80bd3
commit 51fd0898cd

View File

@@ -57,10 +57,11 @@ void BatchQueueEntryUpdater::add (guint8* oimg, int ow, int oh, int newh, BQEntr
void BatchQueueEntryUpdater::process () { void BatchQueueEntryUpdater::process () {
if (stopped) if (stopped){
#undef THREAD_PRIORITY_NORMAL #undef THREAD_PRIORITY_LOW
thread = Glib::Thread::create(sigc::mem_fun(*this, &BatchQueueEntryUpdater::process_), (unsigned long int)0, true, true, Glib::THREAD_PRIORITY_LOW); thread = Glib::Thread::create(sigc::mem_fun(*this, &BatchQueueEntryUpdater::process_), (unsigned long int)0, true, true, Glib::THREAD_PRIORITY_LOW);
} }
}
void BatchQueueEntryUpdater::process_ () { void BatchQueueEntryUpdater::process_ () {