[gdm] smartcard: Port to g_thread_new()
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] smartcard: Port to g_thread_new()
- Date: Mon, 3 Dec 2012 22:17:32 +0000 (UTC)
commit 351328b8d4df5076281995bd11750006061fa781
Author: Colin Walters <walters verbum org>
Date: Mon Dec 3 14:00:48 2012 -0500
smartcard: Port to g_thread_new()
g_thread_create() is deprecated.
https://bugzilla.gnome.org/show_bug.cgi?id=689569
.../extensions/smartcard/gdm-smartcard-manager.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gui/simple-greeter/extensions/smartcard/gdm-smartcard-manager.c b/gui/simple-greeter/extensions/smartcard/gdm-smartcard-manager.c
index 846610f..c7b707f 100644
--- a/gui/simple-greeter/extensions/smartcard/gdm-smartcard-manager.c
+++ b/gui/simple-greeter/extensions/smartcard/gdm-smartcard-manager.c
@@ -1373,9 +1373,9 @@ gdm_smartcard_manager_create_worker (GdmSmartcardManager *manager,
read_fd,
module);
- worker->thread = g_thread_create ((GThreadFunc)
- gdm_smartcard_manager_worker_run,
- worker, FALSE, NULL);
+ worker->thread = g_thread_new ("smartcard",
+ (GThreadFunc) gdm_smartcard_manager_worker_run,
+ worker);
if (worker->thread == NULL) {
gdm_smartcard_manager_worker_free (worker);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]