[gimp] plug-ins: use g_thread_new(), g_thread_create() is deprecated



commit 9dfe9111ef3ddad9776e632287ecceedb5282989
Author: Michael Natterer <mitch gimp org>
Date:   Wed Nov 21 01:47:11 2012 +0100

    plug-ins: use g_thread_new(), g_thread_create() is deprecated

 plug-ins/common/file-pdf-load.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-pdf-load.c b/plug-ins/common/file-pdf-load.c
index c91d848..a57426a 100644
--- a/plug-ins/common/file-pdf-load.c
+++ b/plug-ins/common/file-pdf-load.c
@@ -1154,7 +1154,7 @@ load_dialog (PopplerDocument  *doc,
   thread_data.selector          = GIMP_PAGE_SELECTOR (selector);
   thread_data.stop_thumbnailing = FALSE;
 
-  thread = g_thread_create (thumbnail_thread, &thread_data, TRUE, NULL);
+  thread = g_thread_new ("thumbnailer", thumbnail_thread, &thread_data);
 
   /* Resolution */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]