Author: post
Date: 2012-05-06 17:17:58 +0200 (Sun, 06 May 2012)
New Revision: 4228
Modified:
trunk/librawstudio/rs-io.c
trunk/src/rs-actions.c
Log:
Dont use deprecated "g_thread_create_full".
Modified: trunk/librawstudio/rs-io.c
===================================================================
--- trunk/librawstudio/rs-io.c 2012-05-06 15:00:37 UTC (rev 4227)
+++ trunk/librawstudio/rs-io.c 2012-05-06 15:17:58 UTC (rev 4228)
@@ -88,7 +88,7 @@
{
queue = g_async_queue_new();
for (i = 0; i < rs_get_number_of_processor_cores(); i++)
- g_thread_create_full(queue_worker, queue, 0, FALSE,
FALSE, G_THREAD_PRIORITY_LOW, NULL);
+ g_thread_create(queue_worker, queue, FALSE, NULL);
}
g_static_mutex_unlock(&init_lock);
}
Modified: trunk/src/rs-actions.c
===================================================================
--- trunk/src/rs-actions.c 2012-05-06 15:00:37 UTC (rev 4227)
+++ trunk/src/rs-actions.c 2012-05-06 15:17:58 UTC (rev 4228)
@@ -1241,7 +1241,7 @@
rs_cache_save(rs->photo, MASK_ALL);
if (NULL == process_thread)
- process_thread =
g_thread_create_full(start_process_batch, rs->queue, 0, FALSE, FALSE,
G_THREAD_PRIORITY_LOW, NULL);
+ process_thread = g_thread_create(start_process_batch,
rs->queue, FALSE, NULL);
}
ACTION(lens_db_editor)
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit