[eog] job-queue: Update to new GThread API introduced with glib-2.31
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] job-queue: Update to new GThread API introduced with glib-2.31
- Date: Wed, 8 Feb 2012 19:32:49 +0000 (UTC)
commit f974f23f9a4827a2d8e2f119df7ffc43ead81300
Author: Felix Riemann <friemann gnome org>
Date: Wed Feb 8 20:29:58 2012 +0100
job-queue: Update to new GThread API introduced with glib-2.31
src/eog-job-queue.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/eog-job-queue.c b/src/eog-job-queue.c
index 492e11f..442b3f8 100644
--- a/src/eog-job-queue.c
+++ b/src/eog-job-queue.c
@@ -161,7 +161,8 @@ eog_job_queue_init (void)
save_queue = g_queue_new ();
copy_queue = g_queue_new ();
- g_thread_create (eog_render_thread, NULL, FALSE, NULL);
+ /* Unref to detach the thread */
+ g_thread_unref (g_thread_new ("EogJobQueue", eog_render_thread, NULL));
}
static GQueue *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]