summaryrefslogtreecommitdiff
path: root/plugins/smartcard/msd-smartcard-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/smartcard/msd-smartcard-manager.c')
-rw-r--r--plugins/smartcard/msd-smartcard-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/smartcard/msd-smartcard-manager.c b/plugins/smartcard/msd-smartcard-manager.c
index d22bbe3..7f75829 100644
--- a/plugins/smartcard/msd-smartcard-manager.c
+++ b/plugins/smartcard/msd-smartcard-manager.c
@@ -1256,9 +1256,9 @@ msd_smartcard_manager_create_worker (MsdSmartcardManager *manager,
worker = msd_smartcard_manager_worker_new (write_fd);
worker->module = manager->priv->module;
- *worker_thread = g_thread_create ((GThreadFunc)
+ *worker_thread = g_thread_new ("MsdSmartcardManagerWorker", (GThreadFunc)
msd_smartcard_manager_worker_run,
- worker, FALSE, NULL);
+ worker);
if (*worker_thread == NULL) {
msd_smartcard_manager_worker_free (worker);